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.0009438/0.0009438, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009414/0.0009414, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9796/0.9796, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.7684/0.7684, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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 4.057e-06/4.057e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/3.186e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.002956/0.002988, allocations: 1.955 MB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.005155, allocations: 1.714 MB / 0.6217 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.005294, allocations: 0 / 0.6217 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.005675, allocations: 47.62 kB / 0.6217 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.006199, allocations: 171 kB / 0.6219 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.006391, allocations: 71.62 kB / 0.622 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.006831, allocations: 0.5779 MB / 0.6225 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.016e-05/0.006901, allocations: 12.59 kB / 0.6226 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.007237, allocations: 267.4 kB / 0.6228 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.007478, allocations: 231.5 kB / 0.623 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.007529, allocations: 48 kB / 0.6231 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.00778, allocations: 163.8 kB / 0.6232 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.007934, allocations: 203.4 kB / 0.6234 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.00806, allocations: 163.4 kB / 0.6236 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.008678, allocations: 0.7048 MB / 0.6243 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.008685, allocations: 0 / 0.6243 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.464e-06/0.008687, allocations: 0 / 0.6243 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.008695, allocations: 4 kB / 0.6243 GB, free: 7.34 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.001058/0.009753, allocations: 0.7904 MB / 0.625 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.009809, allocations: 8.031 kB / 0.6251 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.009877, allocations: 74.72 kB / 0.6251 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.009984, allocations: 68.55 kB / 0.6252 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.01057, allocations: 407.5 kB / 0.6256 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.0106, allocations: 29.38 kB / 0.6256 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.01064, allocations: 32.38 kB / 0.6256 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.01128, allocations: 0.5702 MB / 0.6262 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.01129, allocations: 0 / 0.6262 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.01133, allocations: 15.98 kB / 0.6262 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.01134, allocations: 12 kB / 0.6262 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.01401, allocations: 3.144 MB / 0.6293 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.01539, allocations: 1.014 MB / 0.6303 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.0188, allocations: 1.944 MB / 0.6322 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.01906, allocations: 198.1 kB / 0.6324 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.01909, allocations: 12.5 kB / 0.6324 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/0.01953, allocations: 330.1 kB / 0.6327 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 4.479e-06/0.01954, allocations: 0 / 0.6327 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001238/0.02077, allocations: 0.9559 MB / 0.6336 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.02084, allocations: 89.53 kB / 0.6337 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/0.0214, allocations: 0.5955 MB / 0.6343 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.02144, allocations: 53.69 kB / 0.6343 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.02159, allocations: 244.9 kB / 0.6346 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.0217, allocations: 182.6 kB / 0.6348 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.0218, allocations: 90.16 kB / 0.6348 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.02192, allocations: 362.8 kB / 0.6352 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.02216, allocations: 212.9 kB / 0.6354 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.02244, allocations: 281.6 kB / 0.6357 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.02294, allocations: 487.6 kB / 0.6361 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.02295, allocations: 3.938 kB / 0.6361 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008458/0.0238, allocations: 0.8589 MB / 0.637 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.02382, allocations: 4 kB / 0.637 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.02383, allocations: 0 / 0.637 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.02385, allocations: 4 kB / 0.637 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.02407, allocations: 95.88 kB / 0.6371 GB, free: 10 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.02408, allocations: 0 / 0.6371 GB, free: 10 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.02421, allocations: 35.72 kB / 0.6371 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.02423, allocations: 23.98 kB / 0.6371 GB, free: 9.941 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.0002293/0.02446, allocations: 210.6 kB / 0.6373 GB, free: 9.727 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.02454, allocations: 55.7 kB / 0.6374 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.02572, allocations: 1.17 MB / 0.6385 GB, free: 8.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.02573, allocations: 8 kB / 0.6385 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.02574, allocations: 4 kB / 0.6385 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.02575, allocations: 3.984 kB / 0.6385 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.02633, allocations: 0.5478 MB / 0.6391 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.02634, allocations: 0 / 0.6391 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.02659, allocations: 163.8 kB / 0.6392 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.0266, allocations: 4 kB / 0.6392 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.02663, allocations: 27.98 kB / 0.6393 GB, free: 7.703 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.02663, allocations: 4 kB / 0.6393 GB, free: 7.699 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.02664, allocations: 3.984 kB / 0.6393 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.0276, allocations: 1.035 MB / 0.6403 GB, free: 6.637 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.02768, allocations: 79.42 kB / 0.6403 GB, free: 6.559 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.02775, allocations: 31.98 kB / 0.6404 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.02784, allocations: 16 kB / 0.6404 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.02793, allocations: 60.89 kB / 0.6404 GB, free: 6.453 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.02797, allocations: 39.97 kB / 0.6405 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003318/0.0283, allocations: 451 kB / 0.6409 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.0283, allocations: 4 kB / 0.6409 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003834/0.02868, allocations: 159.7 kB / 0.6411 GB, free: 5.812 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.002221/0.03091, allocations: 2.064 MB / 0.6431 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007274/0.03163, allocations: 0.5562 MB / 0.6436 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.03164, allocations: 0 / 0.6436 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.03198, allocations: 349.6 kB / 0.644 GB, free: 3.078 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.03231, allocations: 66.48 kB / 0.644 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/0.03712, allocations: 4.925 MB / 0.6488 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.03733, allocations: 308.9 kB / 0.6491 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002526/0.03758, allocations: 166.2 kB / 0.6493 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.03788, allocations: 272.4 kB / 0.6496 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.392e-06/0.03788, allocations: 0 / 0.6496 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/0.08287, allocations: 14.49 MB / 0.6637 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.392/8.475, allocations: 5.938 kB / 0.6637 GB, free: 14.91 MB / 0.6355 GB " [Timeout remaining time 651] (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 --stepSize=900.016 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.216500628739595] Failed to read output from testmodel.py, exit status != 0: 9.367825730703771 9.382598841 9.371079395 Calling exit ...