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.0007438/0.0007438, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008132/0.0008132, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.9641/0.9641, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.7319/0.7319, allocations: 154.6 MB / 414.5 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.6193 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.18e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007517/0.007559, allocations: 4.758 MB / 0.6239 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.5633/0.5708, allocations: 132.8 MB / 0.7536 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/0.5717, allocations: 24.19 kB / 0.7536 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.5722, allocations: 206.9 kB / 0.7538 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.5736, allocations: 0.6117 MB / 0.7544 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.5753, allocations: 0.8746 MB / 0.7552 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.5763, allocations: 1.514 MB / 0.7567 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005914/0.5769, allocations: 414.9 kB / 0.7571 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007514/0.5777, allocations: 0.7541 MB / 0.7579 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.5782, allocations: 424.6 kB / 0.7583 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.5783, allocations: 122.3 kB / 0.7584 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008366/0.5791, allocations: 0.4916 MB / 0.7589 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.5794, allocations: 318.2 kB / 0.7592 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.5797, allocations: 414.8 kB / 0.7596 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.5816, allocations: 1.829 MB / 0.7613 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5817, allocations: 0 / 0.7613 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5817, allocations: 0 / 0.7613 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.5817, allocations: 1.062 kB / 0.7613 GB, free: 11.62 MB / 0.6355 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.001827/0.5835, allocations: 1.461 MB / 0.7628 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5835, allocations: 11.91 kB / 0.7628 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000813/0.5844, allocations: 235.2 kB / 0.763 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009062/0.5853, allocations: 0.7342 MB / 0.7637 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.5853, allocations: 71.33 kB / 0.7638 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.944e-05/0.5854, allocations: 93.3 kB / 0.7639 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.5867, allocations: 1.202 MB / 0.7651 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.5867, allocations: 1.734 kB / 0.7651 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.5867, allocations: 36.58 kB / 0.7651 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.5868, allocations: 22.09 kB / 0.7651 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.5882, allocations: 1.089 MB / 0.7662 GB, free: 9.023 MB / 0.6355 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.002771/0.591, allocations: 2.172 MB / 0.7683 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.5922, allocations: 0.8009 MB / 0.7691 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/0.5926, allocations: 298.2 kB / 0.7694 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-05/0.5927, allocations: 25.97 kB / 0.7694 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007316/0.5934, allocations: 0.6055 MB / 0.77 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 2.415e-06/0.5934, allocations: 0 / 0.77 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.002171/0.5956, allocations: 1.176 MB / 0.7711 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.5956, allocations: 190.5 kB / 0.7713 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.5963, allocations: 0.6249 MB / 0.7719 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.5963, allocations: 43.17 kB / 0.772 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.5965, allocations: 436.4 kB / 0.7724 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.5967, allocations: 284.6 kB / 0.7726 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.5969, allocations: 168.9 kB / 0.7728 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.597, allocations: 395.2 kB / 0.7732 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.5974, allocations: 279.3 kB / 0.7735 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.5978, allocations: 0.4927 MB / 0.7739 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/0.5987, allocations: 0.6329 MB / 0.7746 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5987, allocations: 0 / 0.7746 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001252/0.5999, allocations: 0.8836 MB / 0.7754 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5999, allocations: 5.812 kB / 0.7754 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5999, allocations: 2.484 kB / 0.7754 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.6003, allocations: 88.64 kB / 0.7755 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.6007, allocations: 176.1 kB / 0.7757 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.602, allocations: 1.491 MB / 0.7771 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.6024, allocations: 93.44 kB / 0.7772 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.6025, allocations: 37.14 kB / 0.7773 GB, free: 2.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.0003224/0.6028, allocations: 273 kB / 0.7775 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.6029, allocations: 87.61 kB / 0.7776 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.6046, allocations: 1.098 MB / 0.7787 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6046, allocations: 10.06 kB / 0.7787 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.6046, allocations: 0 / 0.7787 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.6046, allocations: 5.266 kB / 0.7787 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000819/0.6054, allocations: 0.6646 MB / 0.7793 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6054, allocations: 5.031 kB / 0.7793 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.6059, allocations: 157.5 kB / 0.7795 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/0.6061, allocations: 67.03 kB / 0.7796 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.6061, allocations: 27.11 kB / 0.7796 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.6072, allocations: 1.527 MB / 0.7811 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6072, allocations: 5.234 kB / 0.7811 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.6093, allocations: 1.367 MB / 0.7824 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.6096, allocations: 202.5 kB / 0.7826 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.6097, allocations: 22.03 kB / 0.7826 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.61, allocations: 60.39 kB / 0.7827 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.6101, allocations: 81 kB / 0.7828 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/0.6102, allocations: 39.33 kB / 0.7828 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00054/0.6107, allocations: 457.9 kB / 0.7832 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.6107, allocations: 1.562 kB / 0.7832 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001133/0.6119, allocations: 349.4 kB / 0.7836 GB, free: 14.98 MB / 0.6511 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.001411/0.6133, allocations: 0.6515 MB / 0.7842 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.6146, allocations: 0.8267 MB / 0.785 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6146, allocations: 0 / 0.785 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.6152, allocations: 0.4935 MB / 0.7855 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/0.6159, allocations: 293.3 kB / 0.7858 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.6183, allocations: 1.876 MB / 0.7876 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.6187, allocations: 460.6 kB / 0.788 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.6189, allocations: 126.5 kB / 0.7882 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of SimCode: time 8.62e-07/0.6189, allocations: 0 / 0.7882 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of Templates: time 0.01518/0.6341, allocations: 19.66 MB / 0.8074 GB, free: 2.852 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.728215469047427] Failed to read output from testmodel.py, exit status != 0: 0.6413601385429502 0.647516993 0.06418715 Calling exit ...