Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,fileNamePrefix="IDEAS_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.006605/0.006605, allocations: 101 kB / 15.73 MB, free: 6.059 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.001506/0.001506, allocations: 194.7 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8683/0.8683, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.45 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1794, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.003497/0.1829, allocations: 2.003 MB / 0.6612 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1854, allocations: 1.53 MB / 0.6627 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1855, allocations: 4 kB / 0.6627 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.1859, allocations: 55.62 kB / 0.6627 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.1863, allocations: 99.39 kB / 0.6628 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.1866, allocations: 111.6 kB / 0.6629 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.1871, allocations: 0.5508 MB / 0.6634 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.379e-05/0.1872, allocations: 20.3 kB / 0.6635 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.1876, allocations: 199.4 kB / 0.6637 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.1879, allocations: 243.3 kB / 0.6639 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.614e-05/0.1879, allocations: 47.94 kB / 0.6639 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.1882, allocations: 108 kB / 0.664 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.1884, allocations: 183.4 kB / 0.6642 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.1886, allocations: 242.4 kB / 0.6644 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.1893, allocations: 0.607 MB / 0.665 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1893, allocations: 0 / 0.665 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1893, allocations: 0 / 0.665 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.1893, allocations: 0 / 0.665 GB, free: 4.746 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.001212/0.1905, allocations: 0.8425 MB / 0.6659 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1906, allocations: 15.97 kB / 0.6659 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.318e-05/0.1907, allocations: 78.72 kB / 0.666 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.1908, allocations: 60.56 kB / 0.666 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008867/0.1917, allocations: 0.5185 MB / 0.6665 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.1918, allocations: 29.36 kB / 0.6665 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.1918, allocations: 35.94 kB / 0.6666 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.1926, allocations: 486 kB / 0.667 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1926, allocations: 4 kB / 0.667 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.1927, allocations: 16 kB / 0.6671 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.1927, allocations: 11.98 kB / 0.6671 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.1955, allocations: 2.204 MB / 0.6692 GB, free: 352 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.1969, allocations: 0.9771 MB / 0.6702 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.2002, allocations: 1.457 MB / 0.6716 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.2005, allocations: 166.1 kB / 0.6718 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.197e-05/0.2005, allocations: 36.39 kB / 0.6718 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/0.201, allocations: 273.3 kB / 0.6721 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 5.31e-06/0.2011, allocations: 3.984 kB / 0.6721 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.001383/0.2024, allocations: 0.8074 MB / 0.6728 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.2025, allocations: 81.55 kB / 0.6729 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.203, allocations: 413.9 kB / 0.6733 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.2031, allocations: 49.69 kB / 0.6734 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.2033, allocations: 232.9 kB / 0.6736 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.2035, allocations: 186.5 kB / 0.6738 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.2036, allocations: 86.11 kB / 0.6738 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2038, allocations: 366.7 kB / 0.6742 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.2041, allocations: 164.8 kB / 0.6744 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.2044, allocations: 207.2 kB / 0.6746 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/0.205, allocations: 382.4 kB / 0.6749 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.205, allocations: 0 / 0.6749 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001089/0.2061, allocations: 0.7888 MB / 0.6757 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2062, allocations: 12.05 kB / 0.6757 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2062, allocations: 0 / 0.6757 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.2062, allocations: 4 kB / 0.6757 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.2065, allocations: 95.89 kB / 0.6758 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2065, allocations: 0 / 0.6758 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.2066, allocations: 27.8 kB / 0.6758 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.2067, allocations: 24 kB / 0.6758 GB, free: 9.406 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.0002496/0.207, allocations: 210.5 kB / 0.676 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.207, allocations: 47.72 kB / 0.6761 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.2072, allocations: 89.14 kB / 0.6762 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.2073, allocations: 8 kB / 0.6762 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2073, allocations: 3.938 kB / 0.6762 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2073, allocations: 3.984 kB / 0.6762 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.2078, allocations: 0.4974 MB / 0.6767 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2078, allocations: 0 / 0.6767 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.2081, allocations: 83.91 kB / 0.6768 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.2081, allocations: 8 kB / 0.6768 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.2081, allocations: 23.98 kB / 0.6768 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2081, allocations: 7.922 kB / 0.6768 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2081, allocations: 0 / 0.6768 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.2092, allocations: 0.7005 MB / 0.6775 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.925e-05/0.2093, allocations: 132.7 kB / 0.6776 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.575e-05/0.2094, allocations: 19.98 kB / 0.6776 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.2095, allocations: 12 kB / 0.6776 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.2096, allocations: 40.39 kB / 0.6777 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.2096, allocations: 23.98 kB / 0.6777 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003285/0.21, allocations: 303 kB / 0.678 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.21, allocations: 0 / 0.678 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003696/0.2103, allocations: 115.8 kB / 0.6781 GB, free: 7.004 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.00292/0.2133, allocations: 1.624 MB / 0.6797 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007289/0.214, allocations: 412.9 kB / 0.6801 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.214, allocations: 7.938 kB / 0.6801 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.2144, allocations: 210.5 kB / 0.6803 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.2147, allocations: 57.53 kB / 0.6803 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005476/0.2202, allocations: 4.283 MB / 0.6845 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.2208, allocations: 0.8642 MB / 0.6854 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003343/0.2211, allocations: 154.5 kB / 0.6855 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.2215, allocations: 219.3 kB / 0.6857 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of SimCode: time 1.613e-06/0.2215, allocations: 0 / 0.6857 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.333/1.554, allocations: 10.36 MB / 0.6958 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.103/10.66, allocations: 10.58 kB / 0.6958 GB, free: 5.078 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; mkfifo IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe >> ../files/IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow_fmu --startTime=1.5e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow.fmu > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1)