Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow",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.007634/0.007634, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001443/0.001443, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.053/1.053, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.00182, allocations: 59.91 kB / 0.5851 GB, free: 3.734 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6078, allocations: 80.91 MB / 0.6642 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.003263/0.6111, allocations: 2.016 MB / 0.6661 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.6133, allocations: 1.527 MB / 0.6676 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.6134, allocations: 1.156 kB / 0.6676 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.6137, allocations: 52.31 kB / 0.6677 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.6141, allocations: 120.3 kB / 0.6678 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.6144, allocations: 97.62 kB / 0.6679 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005275/0.6149, allocations: 0.5697 MB / 0.6684 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.615, allocations: 14.66 kB / 0.6685 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.6153, allocations: 197.9 kB / 0.6686 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.6156, allocations: 243.7 kB / 0.6689 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.689e-05/0.6157, allocations: 41.22 kB / 0.6689 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.6159, allocations: 115.7 kB / 0.669 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.6161, allocations: 182.1 kB / 0.6692 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.6163, allocations: 245.4 kB / 0.6694 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006465/0.617, allocations: 0.6005 MB / 0.67 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.617, allocations: 1.531 kB / 0.67 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.464e-06/0.617, allocations: 0 / 0.67 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.617, allocations: 0 / 0.67 GB, free: 2.898 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001138/0.6182, allocations: 0.8427 MB / 0.6708 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.6182, allocations: 10.09 kB / 0.6709 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.409e-05/0.6183, allocations: 70.97 kB / 0.6709 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.6184, allocations: 69.45 kB / 0.671 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008751/0.6193, allocations: 0.519 MB / 0.6715 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.6194, allocations: 28.06 kB / 0.6715 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.6194, allocations: 42.27 kB / 0.6716 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007748/0.6202, allocations: 497.2 kB / 0.672 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.6202, allocations: 0 / 0.672 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.6203, allocations: 11.38 kB / 0.672 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.6203, allocations: 8.156 kB / 0.6721 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.6231, allocations: 2.203 MB / 0.6742 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.6247, allocations: 0.9921 MB / 0.6752 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003709/0.6284, allocations: 1.452 MB / 0.6766 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.6287, allocations: 168 kB / 0.6768 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.52e-05/0.6288, allocations: 27.25 kB / 0.6768 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005525/0.6293, allocations: 280.5 kB / 0.677 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.695e-06/0.6293, allocations: 0 / 0.677 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.001558/0.6309, allocations: 0.8054 MB / 0.6778 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.631, allocations: 82.11 kB / 0.6779 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.6316, allocations: 412.3 kB / 0.6783 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.979e-05/0.6317, allocations: 49.28 kB / 0.6783 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.632, allocations: 232.7 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.6322, allocations: 184.8 kB / 0.6787 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.6323, allocations: 85.06 kB / 0.6788 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.6326, allocations: 364.5 kB / 0.6792 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.6329, allocations: 160 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.6333, allocations: 208 kB / 0.6795 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.6341, allocations: 386.5 kB / 0.6799 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6341, allocations: 0 / 0.6799 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001547/0.6357, allocations: 0.7906 MB / 0.6807 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.6357, allocations: 5.844 kB / 0.6807 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6357, allocations: 1.094 kB / 0.6807 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.6358, allocations: 6.312 kB / 0.6807 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.6361, allocations: 101.8 kB / 0.6808 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.6361, allocations: 2.25 kB / 0.6808 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.6363, allocations: 39.09 kB / 0.6808 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.6364, allocations: 15.47 kB / 0.6808 GB, free: 12.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.CONTAMdata.nextTimeEvent,$whenCondition1,CONTAMdata.nextTimeEventScaled,$PRE.CONTAMdata.nextTimeEventScaled,CONTAMdata.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003207/0.6367, allocations: 220.9 kB / 0.681 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.6368, allocations: 46.62 kB / 0.6811 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.637, allocations: 86.61 kB / 0.6812 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.6371, allocations: 5.312 kB / 0.6812 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.6371, allocations: 0 / 0.6812 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.6371, allocations: 0 / 0.6812 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.6378, allocations: 0.4943 MB / 0.6817 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6378, allocations: 5.375 kB / 0.6817 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.6381, allocations: 92.77 kB / 0.6818 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6381, allocations: 1.375 kB / 0.6818 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.6382, allocations: 21.8 kB / 0.6818 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6382, allocations: 0 / 0.6818 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6382, allocations: 0 / 0.6818 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.6393, allocations: 0.7162 MB / 0.6825 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.6394, allocations: 122.1 kB / 0.6826 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.081e-05/0.6395, allocations: 23.66 kB / 0.6826 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.6396, allocations: 11.27 kB / 0.6826 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.6397, allocations: 37.2 kB / 0.6827 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.6398, allocations: 26.67 kB / 0.6827 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003337/0.6401, allocations: 300.8 kB / 0.683 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6401, allocations: 0 / 0.683 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000417/0.6406, allocations: 117.5 kB / 0.6831 GB, free: 11.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,CONTAMdata.nextTimeEvent,CONTAMdata.nextTimeEventScaled) * Number of discrete states: 2 (CONTAMdata.nextTimeEventScaled,CONTAMdata.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002538/0.6431, allocations: 1.624 MB / 0.6847 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000781/0.6439, allocations: 413.7 kB / 0.6851 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6439, allocations: 4.062 kB / 0.6851 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.6443, allocations: 213.3 kB / 0.6853 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.6447, allocations: 55.7 kB / 0.6853 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005853/0.6506, allocations: 4.294 MB / 0.6895 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.6511, allocations: 0.8642 MB / 0.6904 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003465/0.6514, allocations: 162.4 kB / 0.6905 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.6518, allocations: 223.3 kB / 0.6907 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of SimCode: time 1.743e-06/0.6518, allocations: 0 / 0.6907 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04636/0.6981, allocations: 10.34 MB / 0.7008 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.911/9.609, allocations: 11.86 kB / 0.7008 GB, free: 11.86 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe >> ../files/IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow_res.csv --start-time 1.5e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900.016 IDEAS_dev_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow.fmu > IDEAS_dev_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1)