Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002418/0.002418, allocations: 282.6 kB / 303 MB, free: 3.543 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 180.9 MB / 0.5261 GB, free: 2.754 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 95.84 kB / 0.7248 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.567/0.5698, allocations: 94.16 MB / 0.8167 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006372/0.5762, allocations: 5.24 MB / 0.8218 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1964/0.7725, allocations: 151.1 MB / 0.9694 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.7739, allocations: 19.88 kB / 0.9694 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007589/0.7746, allocations: 202.1 kB / 0.9696 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.7773, allocations: 0.5782 MB / 0.9702 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.7799, allocations: 0.8431 MB / 0.971 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002154/0.7821, allocations: 1.447 MB / 0.9724 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.7829, allocations: 446 kB / 0.9728 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009021/0.7838, allocations: 0.5022 MB / 0.9733 GB, free: 288 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008184/0.7847, allocations: 0.5251 MB / 0.9738 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.7849, allocations: 120 kB / 0.9739 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.786, allocations: 491.6 kB / 0.9744 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.7863, allocations: 315 kB / 0.9747 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006091/0.7869, allocations: 0.5869 MB / 0.9753 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.7896, allocations: 1.7 MB / 0.977 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7896, allocations: 0 / 0.977 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7896, allocations: 0 / 0.977 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.7896, allocations: 0 / 0.977 GB, free: 12.55 MB / 0.7169 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.003249/0.7929, allocations: 1.53 MB / 0.9784 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.7929, allocations: 8.031 kB / 0.9785 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.7931, allocations: 143.7 kB / 0.9786 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009746/0.7941, allocations: 204 kB / 0.9788 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.7955, allocations: 0.7901 MB / 0.9796 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.7956, allocations: 66 kB / 0.9796 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.7958, allocations: 88 kB / 0.9797 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.7977, allocations: 0.9535 MB / 0.9806 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.7977, allocations: 7.938 kB / 0.9806 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.7978, allocations: 39.98 kB / 0.9807 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.7978, allocations: 20 kB / 0.9807 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.7998, allocations: 1.139 MB / 0.9818 GB, free: 7.43 MB / 0.7169 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.004808/0.8046, allocations: 2.783 MB / 0.9845 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.8062, allocations: 0.8005 MB / 0.9853 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.8068, allocations: 298.7 kB / 0.9856 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.905e-05/0.8069, allocations: 38.73 kB / 0.9856 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009767/0.8079, allocations: 0.4964 MB / 0.9861 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 2.464e-06/0.8079, allocations: 0 / 0.9861 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=85): time 0.003554/0.8114, allocations: 1.251 MB / 0.9873 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002173/0.8116, allocations: 196.9 kB / 0.9875 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.8127, allocations: 0.6451 MB / 0.9882 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/0.8128, allocations: 41.7 kB / 0.9882 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.8132, allocations: 429 kB / 0.9886 GB, free: 232 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.8135, allocations: 285.7 kB / 0.9889 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.8137, allocations: 154.6 kB / 0.989 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002365/0.814, allocations: 386.8 kB / 0.9894 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/0.8145, allocations: 261.9 kB / 0.9896 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006778/0.8152, allocations: 370.5 kB / 0.99 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.8164, allocations: 0.6125 MB / 0.9906 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8164, allocations: 0 / 0.9906 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002069/0.8185, allocations: 0.8335 MB / 0.9914 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.8185, allocations: 5.719 kB / 0.9914 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8185, allocations: 4 kB / 0.9914 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/0.8191, allocations: 84.86 kB / 0.9915 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.8198, allocations: 163.7 kB / 0.9917 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.8222, allocations: 1.645 MB / 0.9933 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/0.823, allocations: 95.53 kB / 0.9934 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/0.823, allocations: 27.98 kB / 0.9934 GB, free: 11.12 MB / 0.7325 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.000558/0.8236, allocations: 263.4 kB / 0.9936 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.8239, allocations: 91.44 kB / 0.9937 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.8264, allocations: 1.097 MB / 0.9948 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.8264, allocations: 8 kB / 0.9948 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.8264, allocations: 0 / 0.9948 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.8264, allocations: 3.984 kB / 0.9948 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.8278, allocations: 0.9347 MB / 0.9957 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.8278, allocations: 7.938 kB / 0.9957 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.8285, allocations: 163.7 kB / 0.9959 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/0.8289, allocations: 68.8 kB / 0.9959 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.286e-05/0.829, allocations: 27.97 kB / 0.996 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.8311, allocations: 1.658 MB / 0.9976 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8311, allocations: 64 / 0.9976 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/0.8343, allocations: 1.371 MB / 0.9989 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/0.8349, allocations: 288.1 kB / 0.9992 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.835, allocations: 19.98 kB / 0.9992 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/0.8356, allocations: 63.94 kB / 0.9993 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.8358, allocations: 72.95 kB / 0.9994 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/0.8359, allocations: 35.98 kB / 0.9994 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006532/0.8365, allocations: 475 kB / 0.9998 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8365, allocations: 0 / 0.9998 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009559/0.8375, allocations: 335.2 kB / 1 GB, free: 3.926 MB / 0.7325 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.005266/0.8427, allocations: 2.43 MB / 1.003 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.8445, allocations: 0.7962 MB / 1.003 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.8445, allocations: 8 kB / 1.003 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009755/0.8455, allocations: 0.4963 MB / 1.004 GB, free: 344 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.847, allocations: 307 kB / 1.004 GB, free: 56 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.8593, allocations: 6.554 MB / 1.01 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008389/0.8601, allocations: 1.043 MB / 1.012 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008992/0.861, allocations: 266.8 kB / 1.012 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/0.8617, allocations: 403.3 kB / 1.012 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of SimCode: time 7.52e-07/0.8617, allocations: 0 / 1.012 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06635/0.928, allocations: 22.41 MB / 1.034 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.13, allocations: 13.83 kB / 1.034 GB, free: 1.496 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.35036086430773] Failed to read output from testmodel.py, exit status != 0: 14.335456911008805 14.350183689 13.557492743 Calling exit ...