Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00598/0.00598, allocations: 95.77 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 198.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 275 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 103.8 kB / 0.6943 GB, free: 3.609 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5652, allocations: 89.14 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2146/0.7798, allocations: 166.1 MB / 0.9435 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.7932, allocations: 7.801 MB / 0.9511 GB, free: 0.8398 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.7949, allocations: 31.81 kB / 0.9512 GB, free: 0.8086 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.7964, allocations: 397 kB / 0.9515 GB, free: 428 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004286/0.8007, allocations: 1.313 MB / 0.9528 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.8039, allocations: 1.185 MB / 0.954 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003731/0.8077, allocations: 2.352 MB / 0.9563 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.81, allocations: 1.188 MB / 0.9574 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.8116, allocations: 0.8134 MB / 0.9582 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.8138, allocations: 0.7932 MB / 0.959 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005622/0.8143, allocations: 152 kB / 0.9592 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003106/0.8174, allocations: 1.115 MB / 0.9602 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00069/0.8182, allocations: 438.6 kB / 0.9607 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.8198, allocations: 0.7852 MB / 0.9614 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00616/0.826, allocations: 2.421 MB / 0.9638 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.8261, allocations: 0 / 0.9638 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8261, allocations: 0 / 0.9638 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.034e-05/0.8262, allocations: 4 kB / 0.9638 GB, free: 3.828 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004518/0.8307, allocations: 1.935 MB / 0.9657 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.8307, allocations: 8.031 kB / 0.9657 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/0.831, allocations: 169 kB / 0.9659 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.833, allocations: 342.6 kB / 0.9662 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.8348, allocations: 1.016 MB / 0.9672 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.985e-05/0.835, allocations: 90.14 kB / 0.9673 GB, free: 164 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.8351, allocations: 119.9 kB / 0.9674 GB, free: 44 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.8373, allocations: 1.164 MB / 0.9685 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.8374, allocations: 4 kB / 0.9685 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.8375, allocations: 44 kB / 0.9686 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.156e-05/0.8376, allocations: 42.06 kB / 0.9686 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.8399, allocations: 1.316 MB / 0.9699 GB, free: 13.39 MB / 0.7325 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.006051/0.8459, allocations: 3.812 MB / 0.9736 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.8479, allocations: 0.985 MB / 0.9746 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.8486, allocations: 407 kB / 0.975 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.8487, allocations: 33.03 kB / 0.975 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.8499, allocations: 0.5912 MB / 0.9756 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=102): time 5.129e-06/0.8499, allocations: 0 / 0.9756 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.004074/0.854, allocations: 1.443 MB / 0.977 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.8541, allocations: 196.9 kB / 0.9772 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.8553, allocations: 0.8302 MB / 0.978 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.09e-05/0.8554, allocations: 49.7 kB / 0.978 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.8559, allocations: 0.5362 MB / 0.9785 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.8562, allocations: 349 kB / 0.9789 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.8565, allocations: 182.5 kB / 0.979 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8567, allocations: 345.9 kB / 0.9794 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.8573, allocations: 317.8 kB / 0.9797 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.8581, allocations: 471.6 kB / 0.9801 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.8595, allocations: 0.7814 MB / 0.9809 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.8595, allocations: 0 / 0.9809 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002567/0.8621, allocations: 1.029 MB / 0.9819 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.8622, allocations: 4 kB / 0.9819 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.8622, allocations: 4.219 kB / 0.9819 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/0.8628, allocations: 88.77 kB / 0.982 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.8637, allocations: 219.6 kB / 0.9822 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.866, allocations: 1.633 MB / 0.9838 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.8671, allocations: 107.4 kB / 0.9839 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.8672, allocations: 35.98 kB / 0.9839 GB, free: 14.42 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0006121/0.8678, allocations: 313.6 kB / 0.9842 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.868, allocations: 119.4 kB / 0.9843 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.8708, allocations: 1.256 MB / 0.9856 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.8709, allocations: 16 kB / 0.9856 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.8709, allocations: 0 / 0.9856 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.8709, allocations: 3.984 kB / 0.9856 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.8725, allocations: 1.173 MB / 0.9867 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8725, allocations: 0 / 0.9867 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009018/0.8734, allocations: 211.7 kB / 0.9869 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/0.8739, allocations: 72.78 kB / 0.987 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.874, allocations: 31.98 kB / 0.987 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.8761, allocations: 1.662 MB / 0.9887 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8761, allocations: 3.984 kB / 0.9887 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/0.8794, allocations: 1.574 MB / 0.9902 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/0.88, allocations: 336 kB / 0.9905 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.8802, allocations: 20 kB / 0.9905 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008402/0.881, allocations: 81.27 kB / 0.9906 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.8812, allocations: 72.89 kB / 0.9907 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-05/0.8813, allocations: 43.97 kB / 0.9907 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001001/0.8823, allocations: 0.5898 MB / 0.9913 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8823, allocations: 0 / 0.9913 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001152/0.8835, allocations: 431 kB / 0.9917 GB, free: 6.18 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.005929/0.8894, allocations: 2.648 MB / 0.9943 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002248/0.8917, allocations: 0.9643 MB / 0.9952 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8917, allocations: 4.125 kB / 0.9952 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.893, allocations: 0.6055 MB / 0.9958 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/0.8959, allocations: 492.6 kB / 0.9963 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.9118, allocations: 8.255 MB / 1.004 GB, free: 9.191 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.913, allocations: 1.158 MB / 1.005 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001301/0.9143, allocations: 325.1 kB / 1.006 GB, free: 7.688 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/0.9152, allocations: 0.5148 MB / 1.006 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of SimCode: time 1.583e-06/0.9153, allocations: 0 / 1.006 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08514/1, allocations: 29.63 MB / 1.035 GB, free: 9.965 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.16, allocations: 2.578 kB / 1.035 GB, free: 9.965 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3_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_SimpleHouse3.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)