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.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.0007239/0.0007239, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007114/0.0007114, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8454/0.8454, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001436/0.001436, allocations: 238.5 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6552/0.6552, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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 1.383e-06/1.383e-06, allocations: 0 / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.084e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.247/0.247, allocations: 4.749 MB / 0.6509 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1133/0.3603, allocations: 132.8 MB / 0.7806 GB, free: 1.566 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.3613, allocations: 31.81 kB / 0.7806 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.3619, allocations: 206 kB / 0.7808 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.3638, allocations: 0.6016 MB / 0.7814 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.3655, allocations: 0.872 MB / 0.7822 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.3672, allocations: 1.511 MB / 0.7837 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/0.3679, allocations: 413.5 kB / 0.7841 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/0.3688, allocations: 0.764 MB / 0.7849 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.3693, allocations: 420 kB / 0.7853 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.3694, allocations: 124 kB / 0.7854 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008923/0.3703, allocations: 0.4954 MB / 0.7859 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.3705, allocations: 310.9 kB / 0.7862 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.3709, allocations: 414.9 kB / 0.7865 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.3728, allocations: 1.83 MB / 0.7883 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3728, allocations: 0 / 0.7883 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3728, allocations: 0 / 0.7883 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.522e-05/0.3728, allocations: 3.938 kB / 0.7883 GB, free: 9.582 MB / 0.6198 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.002316/0.3751, allocations: 1.467 MB / 0.7898 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3752, allocations: 9.938 kB / 0.7898 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.3753, allocations: 143.7 kB / 0.7899 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008121/0.3761, allocations: 239.9 kB / 0.7901 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/0.3771, allocations: 0.7258 MB / 0.7909 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.3771, allocations: 69.94 kB / 0.7909 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/0.3772, allocations: 91.95 kB / 0.791 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.3784, allocations: 1.201 MB / 0.7922 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3784, allocations: 0 / 0.7922 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.3784, allocations: 47.94 kB / 0.7922 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.3785, allocations: 24.64 kB / 0.7923 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.3796, allocations: 1.093 MB / 0.7933 GB, free: 4.312 MB / 0.6198 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.002699/0.3823, allocations: 2.307 MB / 0.7956 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.3836, allocations: 0.7983 MB / 0.7964 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.384, allocations: 292.1 kB / 0.7966 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.695e-05/0.384, allocations: 28.62 kB / 0.7967 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006063/0.3847, allocations: 0.6131 MB / 0.7973 GB, free: 180 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=85): time 2.876e-06/0.3847, allocations: 0 / 0.7973 GB, free: 180 kB / 0.6198 GB Notification: Performance of matching and sorting (n=85): time 0.001961/0.3866, allocations: 1.17 MB / 0.7984 GB, free: 15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.3867, allocations: 204.8 kB / 0.7986 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.3873, allocations: 0.6801 MB / 0.7993 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.3874, allocations: 41.7 kB / 0.7993 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.3876, allocations: 425 kB / 0.7997 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.3878, allocations: 289.6 kB / 0.8 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.388, allocations: 150.6 kB / 0.8001 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3881, allocations: 386.8 kB / 0.8005 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.3884, allocations: 265.9 kB / 0.8007 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.3889, allocations: 499.1 kB / 0.8012 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/0.3896, allocations: 0.6008 MB / 0.8018 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3896, allocations: 0 / 0.8018 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001251/0.3908, allocations: 0.8413 MB / 0.8026 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3908, allocations: 12.03 kB / 0.8026 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3909, allocations: 7.984 kB / 0.8026 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.3912, allocations: 76.78 kB / 0.8027 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.3915, allocations: 167.7 kB / 0.8029 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.3932, allocations: 1.518 MB / 0.8044 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.3937, allocations: 87.53 kB / 0.8044 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.3937, allocations: 39.91 kB / 0.8045 GB, free: 8.496 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: 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.000408/0.3941, allocations: 278.5 kB / 0.8048 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.3942, allocations: 87.44 kB / 0.8048 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.3956, allocations: 1.099 MB / 0.8059 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3956, allocations: 12 kB / 0.8059 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.3956, allocations: 0 / 0.8059 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3957, allocations: 3.984 kB / 0.8059 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/0.3964, allocations: 0.782 MB / 0.8067 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3964, allocations: 0 / 0.8067 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.3968, allocations: 156.7 kB / 0.8068 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/0.397, allocations: 72.8 kB / 0.8069 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.397, allocations: 35.91 kB / 0.8069 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.3982, allocations: 1.55 MB / 0.8085 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3982, allocations: 4.656 kB / 0.8085 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.3999, allocations: 1.368 MB / 0.8098 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.4002, allocations: 203.1 kB / 0.81 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.4003, allocations: 20 kB / 0.81 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.4006, allocations: 74.56 kB / 0.8101 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4007, allocations: 76.78 kB / 0.8101 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.4008, allocations: 35.98 kB / 0.8102 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004264/0.4012, allocations: 491 kB / 0.8107 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4012, allocations: 0 / 0.8107 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006852/0.4019, allocations: 343.1 kB / 0.811 GB, free: 1.648 MB / 0.6355 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.00285/0.4047, allocations: 2.478 MB / 0.8134 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.4058, allocations: 0.796 MB / 0.8142 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4058, allocations: 0 / 0.8142 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.4064, allocations: 0.5004 MB / 0.8147 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.4072, allocations: 321.5 kB / 0.815 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.4149, allocations: 6.59 MB / 0.8214 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.4152, allocations: 461.6 kB / 0.8218 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005942/0.4158, allocations: 267 kB / 0.8221 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/0.4162, allocations: 412.3 kB / 0.8225 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/0.4162, allocations: 0 / 0.8225 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04295/0.4592, allocations: 24.37 MB / 0.8463 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.67, allocations: 4.062 kB / 0.8463 GB, free: 13.89 MB / 0.6823 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 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: 11.385170428082347] Failed to read output from testmodel.py, exit status != 0: 8.818542844615877 8.828800626 8.454088528 Calling exit ...