Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001232/0.001232, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001171/0.001171, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] 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.002151/0.002151, allocations: 280.3 kB / 304.7 MB, free: 3.449 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 0.9864/0.9864, allocations: 180.9 MB / 0.5281 GB, free: 2.055 MB / 382.1 MB " [Timeout remaining time 179] 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.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 95.84 kB / 0.7277 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4478, allocations: 94.17 MB / 0.8196 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006377/0.4541, allocations: 4.967 MB / 0.8245 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.163/0.6172, allocations: 151.2 MB / 0.9721 GB, free: 1.207 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.6183, allocations: 19.88 kB / 0.9721 GB, free: 1.188 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.619, allocations: 190.2 kB / 0.9723 GB, free: 1 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.621, allocations: 0.5585 MB / 0.9728 GB, free: 452 kB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.623, allocations: 0.8415 MB / 0.9737 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001479/0.6245, allocations: 1.366 MB / 0.975 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006614/0.6251, allocations: 417.1 kB / 0.9754 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005763/0.6257, allocations: 490.3 kB / 0.9759 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.6263, allocations: 0.4961 MB / 0.9763 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.6264, allocations: 112 kB / 0.9764 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008965/0.6273, allocations: 487.6 kB / 0.9769 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.6276, allocations: 299 kB / 0.9772 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.6281, allocations: 0.5519 MB / 0.9777 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.6299, allocations: 1.623 MB / 0.9793 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6299, allocations: 4 kB / 0.9793 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6299, allocations: 4 kB / 0.9793 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.6299, allocations: 0 / 0.9793 GB, free: 9.754 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002352/0.6323, allocations: 1.467 MB / 0.9808 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6323, allocations: 12.03 kB / 0.9808 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.6325, allocations: 135.2 kB / 0.9809 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008746/0.6334, allocations: 192.1 kB / 0.9811 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.6344, allocations: 0.7746 MB / 0.9818 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.6345, allocations: 58 kB / 0.9819 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.6346, allocations: 76 kB / 0.982 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.6361, allocations: 0.9153 MB / 0.9829 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6361, allocations: 0 / 0.9829 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.6362, allocations: 36 kB / 0.9829 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.6362, allocations: 20 kB / 0.9829 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.6379, allocations: 1.1 MB / 0.984 GB, free: 4.832 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.003809/0.6417, allocations: 2.741 MB / 0.9867 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.6431, allocations: 0.743 MB / 0.9874 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005176/0.6436, allocations: 266.7 kB / 0.9876 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.586e-05/0.6437, allocations: 32.61 kB / 0.9877 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008059/0.6445, allocations: 491.3 kB / 0.9881 GB, free: 436 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=78): time 1.914e-06/0.6445, allocations: 0 / 0.9881 GB, free: 436 kB / 0.7169 GB Notification: Performance of matching and sorting (n=78): time 0.003051/0.6475, allocations: 1.179 MB / 0.9893 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.6477, allocations: 196.6 kB / 0.9895 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008224/0.6485, allocations: 0.6332 MB / 0.9901 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.6486, allocations: 41.7 kB / 0.9901 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.6489, allocations: 404.9 kB / 0.9905 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.6491, allocations: 265.8 kB / 0.9908 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.6494, allocations: 146.6 kB / 0.9909 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.6496, allocations: 390.7 kB / 0.9913 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.65, allocations: 241.9 kB / 0.9915 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.6506, allocations: 359.4 kB / 0.9919 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.6517, allocations: 0.5807 MB / 0.9924 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.6517, allocations: 4 kB / 0.9924 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001793/0.6535, allocations: 0.7984 MB / 0.9932 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6535, allocations: 4 kB / 0.9932 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6535, allocations: 0 / 0.9932 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.6541, allocations: 88.83 kB / 0.9933 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.6547, allocations: 147.8 kB / 0.9934 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.657, allocations: 1.631 MB / 0.995 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.6575, allocations: 83.52 kB / 0.9951 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.6576, allocations: 35.91 kB / 0.9952 GB, free: 8.938 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0003654/0.658, allocations: 269.6 kB / 0.9954 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.6581, allocations: 87.44 kB / 0.9955 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.6604, allocations: 1.046 MB / 0.9965 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.6604, allocations: 8 kB / 0.9965 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6604, allocations: 7.875 kB / 0.9965 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6604, allocations: 3.984 kB / 0.9965 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.6614, allocations: 0.888 MB / 0.9974 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6614, allocations: 0 / 0.9974 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.662, allocations: 139.8 kB / 0.9975 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004088/0.6624, allocations: 68.8 kB / 0.9976 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.6625, allocations: 27.97 kB / 0.9976 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.6644, allocations: 1.658 MB / 0.9992 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6644, allocations: 0 / 0.9992 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.6663, allocations: 0.9205 MB / 1 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.6666, allocations: 276.2 kB / 1 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.6667, allocations: 19.95 kB / 1 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.6673, allocations: 65.66 kB / 1 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.6675, allocations: 72.83 kB / 1.001 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/0.6675, allocations: 35.98 kB / 1.001 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005472/0.6681, allocations: 459 kB / 1.001 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6681, allocations: 0 / 1.001 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007652/0.6688, allocations: 319.2 kB / 1.001 GB, free: 2.344 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.003785/0.6726, allocations: 1.978 MB / 1.003 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.6742, allocations: 0.765 MB / 1.004 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6742, allocations: 0 / 1.004 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008785/0.6751, allocations: 488.2 kB / 1.004 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.6762, allocations: 294.1 kB / 1.005 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.6862, allocations: 6.171 MB / 1.011 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.6868, allocations: 1.023 MB / 1.012 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007689/0.6876, allocations: 270.5 kB / 1.012 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.6881, allocations: 395.3 kB / 1.012 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of SimCode: time 1.282e-06/0.6881, allocations: 0 / 1.012 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05735/0.7455, allocations: 21.63 MB / 1.034 GB, free: 1.602 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.51, allocations: 19.94 kB / 1.034 GB, free: 1.59 MB / 0.7638 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.14292913600366]