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.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.0009345/0.0009345, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008791/0.0008791, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9437/0.9437, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7721/0.7721, allocations: 154.6 MB / 413.7 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.12e-05, allocations: 3.75 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.002967/0.002999, allocations: 1.953 MB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.004926, allocations: 1.722 MB / 0.6217 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.005042, allocations: 0 / 0.6217 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.005412, allocations: 47.62 kB / 0.6217 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.005881, allocations: 175 kB / 0.6219 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.006034, allocations: 67.67 kB / 0.622 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.006478, allocations: 0.5779 MB / 0.6225 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.896e-05/0.006547, allocations: 16.58 kB / 0.6226 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.006861, allocations: 267.4 kB / 0.6228 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.007096, allocations: 231.5 kB / 0.623 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.007148, allocations: 48 kB / 0.6231 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.00736, allocations: 159.8 kB / 0.6232 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.007524, allocations: 203.4 kB / 0.6234 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.007663, allocations: 171.4 kB / 0.6236 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005814/0.008245, allocations: 0.6892 MB / 0.6243 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.00825, allocations: 4 kB / 0.6243 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.673e-06/0.008252, allocations: 0 / 0.6243 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.008259, allocations: 0 / 0.6243 GB, free: 7.332 MB / 0.5886 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.00099/0.009249, allocations: 0.8021 MB / 0.625 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.0093, allocations: 8.031 kB / 0.6251 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.275e-05/0.009373, allocations: 74.72 kB / 0.6251 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.009473, allocations: 64.56 kB / 0.6252 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.01002, allocations: 407.5 kB / 0.6256 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.01005, allocations: 29.38 kB / 0.6256 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.01009, allocations: 32.38 kB / 0.6256 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.01083, allocations: 0.5663 MB / 0.6262 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.01084, allocations: 0 / 0.6262 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.01087, allocations: 20 kB / 0.6262 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.01088, allocations: 8 kB / 0.6262 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/0.01361, allocations: 3.148 MB / 0.6293 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.01486, allocations: 1.014 MB / 0.6303 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.01812, allocations: 1.943 MB / 0.6322 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.01836, allocations: 198.2 kB / 0.6324 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.01838, allocations: 12.44 kB / 0.6324 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.01877, allocations: 326.1 kB / 0.6327 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.513e-06/0.01877, allocations: 3.938 kB / 0.6327 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001169/0.01994, allocations: 0.9637 MB / 0.6336 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.02, allocations: 81.61 kB / 0.6337 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004354/0.02043, allocations: 0.5956 MB / 0.6343 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.02047, allocations: 49.69 kB / 0.6343 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.0206, allocations: 241 kB / 0.6346 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.02071, allocations: 182.6 kB / 0.6347 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.0208, allocations: 94.09 kB / 0.6348 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.02091, allocations: 362.8 kB / 0.6352 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.02114, allocations: 208.9 kB / 0.6354 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.02139, allocations: 285.6 kB / 0.6357 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.0219, allocations: 499.5 kB / 0.6361 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.0219, allocations: 3.938 kB / 0.6361 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007764/0.02268, allocations: 0.8511 MB / 0.637 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.02269, allocations: 4 kB / 0.637 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.0227, allocations: 0 / 0.637 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.02272, allocations: 4 kB / 0.637 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.02291, allocations: 95.88 kB / 0.6371 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.02292, allocations: 0 / 0.6371 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.02301, allocations: 31.78 kB / 0.6371 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.02304, allocations: 28.02 kB / 0.6371 GB, free: 9.926 MB / 0.6042 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.000171/0.02321, allocations: 216.8 kB / 0.6373 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.02327, allocations: 47.67 kB / 0.6374 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.02441, allocations: 1.177 MB / 0.6385 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.02442, allocations: 8 kB / 0.6385 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.02442, allocations: 0 / 0.6385 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.02443, allocations: 3.984 kB / 0.6385 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.02489, allocations: 0.5439 MB / 0.6391 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.02489, allocations: 3.938 kB / 0.6391 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.02514, allocations: 159.8 kB / 0.6392 GB, free: 7.723 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.02515, allocations: 4 kB / 0.6392 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.02518, allocations: 27.98 kB / 0.6393 GB, free: 7.691 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.02518, allocations: 4 kB / 0.6393 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02518, allocations: 4 kB / 0.6393 GB, free: 7.684 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.02622, allocations: 1.039 MB / 0.6403 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.02628, allocations: 79.42 kB / 0.6403 GB, free: 6.543 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.02634, allocations: 24 kB / 0.6404 GB, free: 6.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.02643, allocations: 19.98 kB / 0.6404 GB, free: 6.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.0265, allocations: 60.89 kB / 0.6404 GB, free: 6.441 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.02654, allocations: 35.98 kB / 0.6405 GB, free: 6.406 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003027/0.02685, allocations: 459 kB / 0.6409 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02685, allocations: 0 / 0.6409 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002965/0.02714, allocations: 159.7 kB / 0.6411 GB, free: 5.801 MB / 0.6042 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.nextTimeEvent,CONTAMdata.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * 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.002089/0.02923, allocations: 2.066 MB / 0.6431 GB, free: 3.961 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006302/0.02986, allocations: 0.5524 MB / 0.6436 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02986, allocations: 0 / 0.6436 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.0302, allocations: 341.5 kB / 0.644 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.03048, allocations: 74.91 kB / 0.644 GB, free: 3.008 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.03504, allocations: 4.932 MB / 0.6488 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.03524, allocations: 308.9 kB / 0.6491 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.03545, allocations: 166.3 kB / 0.6493 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.03575, allocations: 272.4 kB / 0.6496 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.03575, allocations: 3.938 kB / 0.6496 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/0.07394, allocations: 14.48 MB / 0.6637 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.746/8.82, allocations: 4.438 kB / 0.6637 GB, free: 14.89 MB / 0.6355 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Examples_TwinHouses_BaseClasses_Data_ValidationDataO5Exp1_Airflow.fmu > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.439852914772928] Failed to read output from testmodel.py, exit status != 0: 9.710789402015507 9.71880035 9.708864581 Calling exit ...