Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001/0.001, allocations: 209.7 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.063/1.063, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8656/0.8656, allocations: 203.8 MB / 0.5042 GB, free: 10.38 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009922/0.0009922, allocations: 68.36 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6319/0.6329, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00577/0.6386, allocations: 4.762 MB / 0.8224 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1462/0.7848, allocations: 132.8 MB / 0.9521 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.7858, allocations: 27.81 kB / 0.9521 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006344/0.7865, allocations: 206.1 kB / 0.9523 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.7883, allocations: 0.5814 MB / 0.9529 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.7902, allocations: 0.8724 MB / 0.9537 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.7914, allocations: 1.475 MB / 0.9552 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006111/0.792, allocations: 410.8 kB / 0.9556 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.7925, allocations: 0.5294 MB / 0.9561 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.793, allocations: 489.7 kB / 0.9565 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.7931, allocations: 124 kB / 0.9567 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007271/0.7938, allocations: 0.4918 MB / 0.9571 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.7941, allocations: 315 kB / 0.9574 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.7944, allocations: 489.7 kB / 0.9579 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.7963, allocations: 1.757 MB / 0.9596 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.7963, allocations: 0 / 0.9596 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.866e-06/0.7963, allocations: 0 / 0.9596 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.958e-05/0.7963, allocations: 4 kB / 0.9596 GB, free: 3.961 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002038/0.7984, allocations: 1.478 MB / 0.9611 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.7984, allocations: 8.031 kB / 0.9611 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.7985, allocations: 139.7 kB / 0.9612 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008419/0.7994, allocations: 240 kB / 0.9614 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.8004, allocations: 0.7374 MB / 0.9622 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.8004, allocations: 66 kB / 0.9622 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.884e-05/0.8005, allocations: 88 kB / 0.9623 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.8017, allocations: 1.205 MB / 0.9635 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.8017, allocations: 7.875 kB / 0.9635 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.8018, allocations: 40 kB / 0.9635 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.8018, allocations: 20 kB / 0.9636 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.8029, allocations: 1.089 MB / 0.9646 GB, free: 14.68 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.8056, allocations: 2.309 MB / 0.9669 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.8067, allocations: 0.7868 MB / 0.9676 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.807, allocations: 302.6 kB / 0.9679 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.8071, allocations: 22.7 kB / 0.968 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006208/0.8077, allocations: 0.6124 MB / 0.9685 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=85): time 1.953e-06/0.8077, allocations: 0 / 0.9685 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.001876/0.8096, allocations: 1.176 MB / 0.9697 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.8097, allocations: 192.9 kB / 0.9699 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.8102, allocations: 0.6725 MB / 0.9705 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.8103, allocations: 41.7 kB / 0.9706 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.8105, allocations: 433 kB / 0.971 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.8107, allocations: 289.6 kB / 0.9713 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.8108, allocations: 150.6 kB / 0.9714 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.8109, allocations: 394.7 kB / 0.9718 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.8113, allocations: 257.9 kB / 0.972 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.8117, allocations: 0.4951 MB / 0.9725 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.8124, allocations: 0.6048 MB / 0.9731 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8124, allocations: 4 kB / 0.9731 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001221/0.8136, allocations: 0.8413 MB / 0.9739 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8136, allocations: 4 kB / 0.9739 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8136, allocations: 4 kB / 0.9739 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/0.814, allocations: 88.8 kB / 0.974 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.8143, allocations: 163.7 kB / 0.9742 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.8157, allocations: 1.523 MB / 0.9757 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.816, allocations: 87.56 kB / 0.9758 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.8161, allocations: 32.05 kB / 0.9758 GB, free: 2.832 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002705/0.8163, allocations: 273.6 kB / 0.976 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.8164, allocations: 95.38 kB / 0.9761 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.8178, allocations: 1.102 MB / 0.9772 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.8178, allocations: 15.98 kB / 0.9772 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.8178, allocations: 0 / 0.9772 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.8178, allocations: 3.984 kB / 0.9772 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.8185, allocations: 0.782 MB / 0.978 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.8185, allocations: 7.938 kB / 0.978 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.8188, allocations: 155.7 kB / 0.9781 GB, free: 348 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/0.819, allocations: 76.72 kB / 0.9782 GB, free: 268 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.8191, allocations: 23.98 kB / 0.9782 GB, free: 244 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.8202, allocations: 1.543 MB / 0.9798 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8202, allocations: 0 / 0.9798 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.8219, allocations: 1.383 MB / 0.9811 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.8222, allocations: 203.1 kB / 0.9813 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.8223, allocations: 24.06 kB / 0.9813 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.8226, allocations: 65.75 kB / 0.9814 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.8227, allocations: 72.86 kB / 0.9815 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.8227, allocations: 39.97 kB / 0.9815 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003952/0.8231, allocations: 491 kB / 0.982 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8231, allocations: 0 / 0.982 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000638/0.8238, allocations: 339.1 kB / 0.9823 GB, free: 11.97 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002848/0.8266, allocations: 2.462 MB / 0.9847 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.8276, allocations: 0.7883 MB / 0.9855 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8276, allocations: 192 / 0.9855 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005492/0.8282, allocations: 0.5079 MB / 0.986 GB, free: 8.398 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.8289, allocations: 308.1 kB / 0.9862 GB, free: 8.125 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006955/0.8358, allocations: 6.616 MB / 0.9927 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.8362, allocations: 461.6 kB / 0.9931 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005704/0.8367, allocations: 263.1 kB / 0.9934 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004143/0.8372, allocations: 415.2 kB / 0.9938 GB, free: 212 kB / 0.7605 GB Notification: Performance of SimCode: time 1.152e-06/0.8372, allocations: 4 kB / 0.9938 GB, free: 208 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0421/0.8793, allocations: 24.23 MB / 1.017 GB, free: 8.203 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.935/9.814, allocations: 8.797 kB / 1.017 GB, free: 8.199 MB / 0.7917 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.209335949271917] Failed to read output from testmodel.py, exit status != 0: 9.9675996392034 9.974903286 9.176777853 Calling exit ...