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.0009857/0.0009857, 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.0008795/0.0008795, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9469/0.9469, allocations: 177.1 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.742/0.742, allocations: 154.6 MB / 413.7 MB, free: 0.7891 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 2.044e-06/2.044e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.531e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4551/0.4552, allocations: 170.3 MB / 0.7844 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.006124/0.4613, allocations: 3.798 MB / 0.7881 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008771/0.4622, allocations: 29.81 kB / 0.7881 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.4634, allocations: 463.1 kB / 0.7886 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.4664, allocations: 1.594 MB / 0.7901 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.4692, allocations: 1.47 MB / 0.7916 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.471, allocations: 1.658 MB / 0.7932 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007883/0.4718, allocations: 0.8465 MB / 0.794 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.4734, allocations: 1.364 MB / 0.7953 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007702/0.4741, allocations: 0.7833 MB / 0.7961 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.844e-05/0.4742, allocations: 96.97 kB / 0.7962 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.476, allocations: 1.11 MB / 0.7973 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.4763, allocations: 383 kB / 0.7976 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.4766, allocations: 397.7 kB / 0.798 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.4784, allocations: 1.767 MB / 0.7998 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4784, allocations: 0 / 0.7998 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4784, allocations: 4 kB / 0.7998 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.4784, allocations: 0 / 0.7998 GB, free: 1.277 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.001997/0.4804, allocations: 1.181 MB / 0.8009 GB, free: 380 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4805, allocations: 10.03 kB / 0.8009 GB, free: 380 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.4806, allocations: 93.05 kB / 0.801 GB, free: 296 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/0.4814, allocations: 245.8 kB / 0.8012 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006827/0.4821, allocations: 0.5461 MB / 0.8018 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.4822, allocations: 38.44 kB / 0.8018 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.4822, allocations: 55.73 kB / 0.8019 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.4833, allocations: 1.049 MB / 0.8029 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.4834, allocations: 10.58 kB / 0.8029 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.4834, allocations: 20.12 kB / 0.8029 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.4834, allocations: 24.66 kB / 0.8029 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.4845, allocations: 1.007 MB / 0.8039 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.4878, allocations: 3.701 MB / 0.8075 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.4885, allocations: 0.5664 MB / 0.8081 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.489, allocations: 487.5 kB / 0.8086 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/0.4894, allocations: 133.3 kB / 0.8087 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.4894, allocations: 37.78 kB / 0.8087 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001231/0.4907, allocations: 0.642 MB / 0.8093 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=50): time 2.865e-06/0.4907, allocations: 0 / 0.8093 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=50): time 0.009333/0.5, allocations: 3.675 MB / 0.8129 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.5001, allocations: 56.97 kB / 0.813 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007775/0.5008, allocations: 0.7104 MB / 0.8137 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.776e-05/0.5009, allocations: 36.52 kB / 0.8137 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.5011, allocations: 330.3 kB / 0.814 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.5013, allocations: 175 kB / 0.8142 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.5015, allocations: 155.1 kB / 0.8144 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.5016, allocations: 327.8 kB / 0.8147 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.502, allocations: 399.9 kB / 0.815 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.5025, allocations: 0.526 MB / 0.8156 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.5035, allocations: 0.924 MB / 0.8165 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5036, allocations: 2.781 kB / 0.8165 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005938/0.5095, allocations: 2.546 MB / 0.8189 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5095, allocations: 9.938 kB / 0.819 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.5095, allocations: 5.969 kB / 0.819 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/0.5142, allocations: 1.732 MB / 0.8207 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.5145, allocations: 86.91 kB / 0.8207 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008145/0.5226, allocations: 6.866 MB / 0.8274 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.5233, allocations: 24.05 kB / 0.8275 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.5233, allocations: 43.94 kB / 0.8275 GB, free: 12.57 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.0003337/0.5237, allocations: 218.5 kB / 0.8277 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5238, allocations: 83.48 kB / 0.8278 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/0.5268, allocations: 1.726 MB / 0.8295 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5268, allocations: 4.688 kB / 0.8295 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5268, allocations: 4 kB / 0.8295 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5268, allocations: 3.984 kB / 0.8295 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.5304, allocations: 2.386 MB / 0.8318 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.5304, allocations: 0 / 0.8318 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.5306, allocations: 98.89 kB / 0.8319 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.5323, allocations: 0.7933 MB / 0.8327 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.5324, allocations: 19.98 kB / 0.8327 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004529/0.5369, allocations: 4.606 MB / 0.8372 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5369, allocations: 4 kB / 0.8372 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/0.5401, allocations: 2.13 MB / 0.8393 GB, free: 144 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.5405, allocations: 155.4 kB / 0.8394 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.5405, allocations: 23.88 kB / 0.8395 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.5409, allocations: 23.48 kB / 0.8395 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.541, allocations: 56.34 kB / 0.8395 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.541, allocations: 23.98 kB / 0.8396 GB, free: 15.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004883/0.5415, allocations: 0.499 MB / 0.84 GB, free: 15.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.5415, allocations: 0 / 0.84 GB, free: 15.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008272/0.5424, allocations: 291.8 kB / 0.8403 GB, free: 15.08 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.003583/0.5459, allocations: 2.788 MB / 0.8431 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002492/0.5484, allocations: 1.402 MB / 0.8444 GB, free: 10.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5484, allocations: 0 / 0.8444 GB, free: 10.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.5495, allocations: 0.8557 MB / 0.8453 GB, free: 9.938 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.5507, allocations: 460.9 kB / 0.8457 GB, free: 9.516 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/0.568, allocations: 10.36 MB / 0.8558 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.5683, allocations: 389.4 kB / 0.8562 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004978/0.5687, allocations: 170.6 kB / 0.8564 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.5691, allocations: 284.4 kB / 0.8566 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of SimCode: time 1.673e-06/0.5691, allocations: 0 / 0.8566 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04904/0.6181, allocations: 32.9 MB / 0.8888 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.323, allocations: 2.5 kB / 0.8888 GB, free: 13.81 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 11.258169579319656] Failed to read output from testmodel.py, exit status != 0: 8.42388544138521 8.436123234 7.955706043 Calling exit ...