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.001174/0.001174, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001187/0.001187, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.148 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.002302/0.002302, allocations: 290.5 kB / 304.7 MB, free: 3.551 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.9745/0.9745, allocations: 180.9 MB / 0.5281 GB, free: 1.969 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.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.002643/0.002643, allocations: 99.83 kB / 0.7277 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4138, allocations: 94.17 MB / 0.8197 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006712/0.4205, allocations: 5.28 MB / 0.8248 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1625/0.583, allocations: 151.2 MB / 0.9725 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009108/0.5839, allocations: 23.88 kB / 0.9725 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007473/0.5846, allocations: 198.1 kB / 0.9727 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.5867, allocations: 0.5709 MB / 0.9733 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.5888, allocations: 0.8675 MB / 0.9741 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001763/0.5905, allocations: 1.447 MB / 0.9755 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008229/0.5913, allocations: 430.2 kB / 0.9759 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007721/0.5921, allocations: 0.5061 MB / 0.9764 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007936/0.5929, allocations: 0.5328 MB / 0.9769 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.5931, allocations: 120 kB / 0.9771 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009663/0.5941, allocations: 487.6 kB / 0.9775 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.5944, allocations: 303 kB / 0.9778 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006827/0.5951, allocations: 0.5985 MB / 0.9784 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.5973, allocations: 1.695 MB / 0.98 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5973, allocations: 0 / 0.98 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5973, allocations: 4 kB / 0.9801 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.057e-05/0.5973, allocations: 0 / 0.9801 GB, free: 8.988 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.002836/0.6001, allocations: 1.534 MB / 0.9816 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.6002, allocations: 8.031 kB / 0.9816 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.6003, allocations: 147.7 kB / 0.9817 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008448/0.6012, allocations: 196 kB / 0.9819 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.6023, allocations: 0.7939 MB / 0.9827 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.6024, allocations: 66 kB / 0.9827 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.6025, allocations: 84 kB / 0.9828 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.604, allocations: 0.9574 MB / 0.9837 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.604, allocations: 0 / 0.9837 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.6041, allocations: 40 kB / 0.9838 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.6041, allocations: 20 kB / 0.9838 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.6058, allocations: 1.139 MB / 0.9849 GB, free: 3.871 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.003802/0.6096, allocations: 2.787 MB / 0.9876 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.6111, allocations: 0.7995 MB / 0.9884 GB, free: 156 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/0.6117, allocations: 294.7 kB / 0.9887 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/0.6117, allocations: 30.73 kB / 0.9887 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008253/0.6126, allocations: 0.512 MB / 0.9892 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=85): time 2.154e-06/0.6126, allocations: 0 / 0.9892 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=85): time 0.003064/0.6156, allocations: 1.244 MB / 0.9904 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.6157, allocations: 192.9 kB / 0.9906 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007491/0.6165, allocations: 0.649 MB / 0.9913 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.6165, allocations: 41.7 kB / 0.9913 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.6169, allocations: 425 kB / 0.9917 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.6171, allocations: 289.6 kB / 0.992 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.6173, allocations: 154.6 kB / 0.9921 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.6175, allocations: 386.8 kB / 0.9925 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.618, allocations: 257.9 kB / 0.9927 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/0.6186, allocations: 374.5 kB / 0.9931 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.6197, allocations: 0.6047 MB / 0.9937 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6197, allocations: 4 kB / 0.9937 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001806/0.6215, allocations: 0.8452 MB / 0.9945 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.6215, allocations: 4 kB / 0.9945 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6215, allocations: 0 / 0.9945 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/0.6221, allocations: 88.8 kB / 0.9946 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.6227, allocations: 159.8 kB / 0.9948 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.6247, allocations: 1.638 MB / 0.9964 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.6253, allocations: 87.47 kB / 0.9964 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.6254, allocations: 35.97 kB / 0.9965 GB, free: 7.57 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.0003714/0.6257, allocations: 273.9 kB / 0.9967 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.6259, allocations: 87.44 kB / 0.9968 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.6282, allocations: 1.093 MB / 0.9979 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.6282, allocations: 12 kB / 0.9979 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.6282, allocations: 0 / 0.9979 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.6282, allocations: 3.984 kB / 0.9979 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.6292, allocations: 0.9348 MB / 0.9988 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.6293, allocations: 7.922 kB / 0.9988 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.6299, allocations: 155.8 kB / 0.999 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004046/0.6303, allocations: 72.78 kB / 0.999 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.6303, allocations: 27.98 kB / 0.9991 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.6322, allocations: 1.666 MB / 1.001 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6322, allocations: 0 / 1.001 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.6347, allocations: 1.371 MB / 1.002 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.6351, allocations: 288.1 kB / 1.002 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.6352, allocations: 20 kB / 1.002 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/0.6358, allocations: 60.84 kB / 1.002 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.6359, allocations: 76.89 kB / 1.002 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.636, allocations: 39.91 kB / 1.002 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005547/0.6365, allocations: 471 kB / 1.003 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.6365, allocations: 4 kB / 1.003 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007681/0.6373, allocations: 331.2 kB / 1.003 GB, free: 368 kB / 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.004487/0.6418, allocations: 2.425 MB / 1.006 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.6433, allocations: 0.8077 MB / 1.006 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6434, allocations: 0 / 1.006 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008986/0.6442, allocations: 0.4965 MB / 1.007 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.6453, allocations: 306.7 kB / 1.007 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.6554, allocations: 6.546 MB / 1.014 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.6561, allocations: 1.043 MB / 1.015 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007088/0.6568, allocations: 266.9 kB / 1.015 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.6573, allocations: 403.3 kB / 1.015 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.6573, allocations: 0 / 1.015 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/0.7153, allocations: 22.45 MB / 1.037 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.41, allocations: 11.42 kB / 1.037 GB, free: 13.84 MB / 0.7794 GB " [Timeout remaining time 647] (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: 16.141344306000974]