Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.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.001048/0.001048, 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.001185/0.001185, allocations: 170.3 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.9047/0.9047, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.6954/0.6954, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.876e-05, allocations: 4.672 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.3998/0.3998, allocations: 170.3 MB / 0.7844 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.004288/0.4041, allocations: 3.81 MB / 0.7881 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.4044, allocations: 30 kB / 0.7881 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0008654/0.4053, allocations: 458.3 kB / 0.7886 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.4075, allocations: 1.598 MB / 0.7901 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.4098, allocations: 1.473 MB / 0.7916 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001411/0.4112, allocations: 1.655 MB / 0.7932 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007587/0.412, allocations: 0.8439 MB / 0.794 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.4134, allocations: 1.368 MB / 0.7953 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007194/0.4141, allocations: 0.7798 MB / 0.7961 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.4142, allocations: 101.1 kB / 0.7962 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.4155, allocations: 1.11 MB / 0.7973 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.4157, allocations: 378.7 kB / 0.7977 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.416, allocations: 396.5 kB / 0.798 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.4173, allocations: 1.771 MB / 0.7998 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4173, allocations: 0 / 0.7998 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4173, allocations: 0 / 0.7998 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.4173, allocations: 0 / 0.7998 GB, free: 1.305 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001551/0.4189, allocations: 1.183 MB / 0.8009 GB, free: 408 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4189, allocations: 10.59 kB / 0.8009 GB, free: 408 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.208e-05/0.419, allocations: 87.11 kB / 0.801 GB, free: 328 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007703/0.4198, allocations: 249.3 kB / 0.8012 GB, free: 200 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.4204, allocations: 0.5502 MB / 0.8018 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.4204, allocations: 33.69 kB / 0.8018 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/0.4205, allocations: 60.36 kB / 0.8019 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.4216, allocations: 1.052 MB / 0.8029 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4216, allocations: 3.938 kB / 0.8029 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.375e-05/0.4216, allocations: 24.03 kB / 0.8029 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.4217, allocations: 29.3 kB / 0.803 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009707/0.4226, allocations: 1.002 MB / 0.8039 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.4257, allocations: 3.705 MB / 0.8076 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.4263, allocations: 0.559 MB / 0.8081 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/0.4268, allocations: 487.3 kB / 0.8086 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.4271, allocations: 136.6 kB / 0.8087 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4272, allocations: 40.78 kB / 0.8087 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001102/0.4283, allocations: 0.6309 MB / 0.8093 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=50): time 1.703e-06/0.4283, allocations: 3.938 kB / 0.8094 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=50): time 0.008542/0.4368, allocations: 3.674 MB / 0.8129 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4368, allocations: 61.83 kB / 0.813 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005274/0.4374, allocations: 0.7082 MB / 0.8137 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.4374, allocations: 36.64 kB / 0.8137 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.4376, allocations: 319.3 kB / 0.814 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.4377, allocations: 183.8 kB / 0.8142 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.4379, allocations: 155.7 kB / 0.8144 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.4379, allocations: 331.1 kB / 0.8147 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.4383, allocations: 396.9 kB / 0.815 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.4388, allocations: 0.5258 MB / 0.8156 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.4397, allocations: 0.9164 MB / 0.8165 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4397, allocations: 2.188 kB / 0.8165 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005516/0.4452, allocations: 2.554 MB / 0.819 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4452, allocations: 4.969 kB / 0.819 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4453, allocations: 2.969 kB / 0.819 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004646/0.4499, allocations: 1.731 MB / 0.8207 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.4501, allocations: 94.14 kB / 0.8207 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007485/0.4576, allocations: 6.867 MB / 0.8274 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.458, allocations: 16.06 kB / 0.8275 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.4581, allocations: 47.86 kB / 0.8275 GB, free: 12.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002608/0.4583, allocations: 222.6 kB / 0.8277 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.4585, allocations: 87.44 kB / 0.8278 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.4611, allocations: 1.72 MB / 0.8295 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4611, allocations: 8 kB / 0.8295 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4611, allocations: 7.359 kB / 0.8295 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4611, allocations: 4 kB / 0.8295 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.4642, allocations: 2.382 MB / 0.8318 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4643, allocations: 12.12 kB / 0.8318 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.4645, allocations: 95.77 kB / 0.8319 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.4661, allocations: 0.7977 MB / 0.8327 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.4661, allocations: 12 kB / 0.8327 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003986/0.4701, allocations: 4.603 MB / 0.8372 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4701, allocations: 4 kB / 0.8372 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.4729, allocations: 2.137 MB / 0.8393 GB, free: 184 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.4732, allocations: 159.4 kB / 0.8395 GB, free: 24 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.4732, allocations: 12 kB / 0.8395 GB, free: 12 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.4735, allocations: 20.05 kB / 0.8395 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4736, allocations: 56.28 kB / 0.8395 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.4737, allocations: 20 kB / 0.8396 GB, free: 15.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004061/0.4741, allocations: 0.5029 MB / 0.8401 GB, free: 15.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.4741, allocations: 4 kB / 0.8401 GB, free: 15.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000674/0.4747, allocations: 287.7 kB / 0.8403 GB, free: 15.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003263/0.478, allocations: 2.784 MB / 0.843 GB, free: 12.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.4799, allocations: 1.41 MB / 0.8444 GB, free: 10.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4799, allocations: 0 / 0.8444 GB, free: 10.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009038/0.4808, allocations: 0.8518 MB / 0.8453 GB, free: 9.984 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.4819, allocations: 472.9 kB / 0.8457 GB, free: 9.555 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.4979, allocations: 10.37 MB / 0.8558 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.4981, allocations: 389.4 kB / 0.8562 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004346/0.4986, allocations: 162.6 kB / 0.8564 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.4989, allocations: 284.4 kB / 0.8566 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/0.4989, allocations: 0 / 0.8566 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.545, allocations: 32.9 MB / 0.8888 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.213, allocations: 8.484 kB / 0.8888 GB, free: 13.86 MB / 0.7448 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.809975682757795] Failed to read output from testmodel.py, exit status != 0: 8.312160640023649 8.322311381 7.90317197 Calling exit ...