Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007987/0.0007987, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.000876/0.000876, allocations: 208.1 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9281/0.9281, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7492/0.7492, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008939/0.0008939, allocations: 62.81 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4415, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.1438/0.5854, allocations: 170.5 MB / 0.9843 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005153/0.5905, allocations: 3.955 MB / 0.9882 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.5912, allocations: 31.75 kB / 0.9882 GB, free: 6.574 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009827/0.5922, allocations: 457.1 kB / 0.9887 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.5949, allocations: 1.641 MB / 0.9903 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.5978, allocations: 1.403 MB / 0.9916 GB, free: 3.074 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002388/0.6002, allocations: 1.682 MB / 0.9933 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008493/0.601, allocations: 0.8538 MB / 0.9941 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.6026, allocations: 1.141 MB / 0.9952 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008048/0.6034, allocations: 0.8525 MB / 0.9961 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.6035, allocations: 108 kB / 0.9962 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.6051, allocations: 1.134 MB / 0.9973 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.6054, allocations: 382.8 kB / 0.9976 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006047/0.606, allocations: 466.1 kB / 0.9981 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.6078, allocations: 1.705 MB / 0.9997 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6078, allocations: 0 / 0.9997 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6078, allocations: 0 / 0.9997 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.6078, allocations: 0 / 0.9997 GB, free: 10.73 MB / 0.7761 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.001706/0.6095, allocations: 1.212 MB / 1.001 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6096, allocations: 8.031 kB / 1.001 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.436e-05/0.6097, allocations: 90.52 kB / 1.001 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.6114, allocations: 438.8 kB / 1.001 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007699/0.6121, allocations: 0.5733 MB / 1.002 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.6122, allocations: 40.98 kB / 1.002 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.402e-05/0.6122, allocations: 51.95 kB / 1.002 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.6136, allocations: 1.183 MB / 1.003 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.6136, allocations: 3.984 kB / 1.003 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.6136, allocations: 24 kB / 1.003 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.6137, allocations: 28 kB / 1.003 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.6151, allocations: 1.206 MB / 1.004 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.619, allocations: 3.936 MB / 1.008 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.6203, allocations: 0.8475 MB / 1.009 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006953/0.621, allocations: 0.5721 MB / 1.01 GB, free: 240 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.6213, allocations: 88.34 kB / 1.01 GB, free: 152 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.6213, allocations: 35 kB / 1.01 GB, free: 108 kB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001255/0.6225, allocations: 0.6322 MB / 1.01 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=50): time 4.178e-06/0.6226, allocations: 0 / 1.01 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of matching and sorting (n=50): time 0.009712/0.6323, allocations: 3.972 MB / 1.014 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.6323, allocations: 55.84 kB / 1.014 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007479/0.633, allocations: 0.7273 MB / 1.015 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.6332, allocations: 33.7 kB / 1.015 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.6334, allocations: 320.9 kB / 1.015 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.6335, allocations: 194.3 kB / 1.016 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.6337, allocations: 158 kB / 1.016 GB, free: 9.965 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.6338, allocations: 326 kB / 1.016 GB, free: 9.641 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/0.6345, allocations: 0.4889 MB / 1.017 GB, free: 9.152 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007019/0.6352, allocations: 0.6329 MB / 1.017 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.6365, allocations: 1.09 MB / 1.018 GB, free: 7.359 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6365, allocations: 4 kB / 1.018 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006413/0.6429, allocations: 2.756 MB / 1.021 GB, free: 4.586 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6429, allocations: 8.031 kB / 1.021 GB, free: 4.578 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6429, allocations: 4 kB / 1.021 GB, free: 4.574 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004526/0.6475, allocations: 1.726 MB / 1.023 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.6479, allocations: 123.8 kB / 1.023 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007704/0.6556, allocations: 6.875 MB / 1.029 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/0.6564, allocations: 44.02 kB / 1.029 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/0.6565, allocations: 55.89 kB / 1.03 GB, free: 11.51 MB / 0.8073 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.0003494/0.6568, allocations: 201.8 kB / 1.03 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.657, allocations: 91.44 kB / 1.03 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.6601, allocations: 1.912 MB / 1.032 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.6601, allocations: 11.94 kB / 1.032 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6601, allocations: 0 / 1.032 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.6601, allocations: 7.984 kB / 1.032 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004139/0.6643, allocations: 2.674 MB / 1.034 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6643, allocations: 3.938 kB / 1.034 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.6646, allocations: 111.8 kB / 1.034 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.6663, allocations: 0.7979 MB / 1.035 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.6664, allocations: 24.23 kB / 1.035 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.6704, allocations: 4.602 MB / 1.04 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6704, allocations: 3.938 kB / 1.04 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/0.6743, allocations: 2.45 MB / 1.042 GB, free: 14.24 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.6748, allocations: 187.3 kB / 1.042 GB, free: 14.06 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-05/0.6748, allocations: 16 kB / 1.042 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.6753, allocations: 47.94 kB / 1.042 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.6754, allocations: 52.28 kB / 1.042 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.6754, allocations: 19.98 kB / 1.042 GB, free: 13.93 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004494/0.6759, allocations: 0.5107 MB / 1.043 GB, free: 13.42 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6759, allocations: 0 / 1.043 GB, free: 13.42 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007178/0.6766, allocations: 295.9 kB / 1.043 GB, free: 13.13 MB / 0.823 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 (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%), (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.004006/0.6806, allocations: 3.077 MB / 1.046 GB, free: 10 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00285/0.6835, allocations: 1.611 MB / 1.048 GB, free: 8.359 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6835, allocations: 0 / 1.048 GB, free: 8.359 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.6847, allocations: 0.961 MB / 1.049 GB, free: 7.375 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.686, allocations: 475.2 kB / 1.049 GB, free: 6.93 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/0.7049, allocations: 11.14 MB / 1.06 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.7052, allocations: 385.4 kB / 1.06 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008466/0.7061, allocations: 166.7 kB / 1.061 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006721/0.7068, allocations: 287.3 kB / 1.061 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.625e-06/0.7068, allocations: 0 / 1.061 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.7531, allocations: 35.43 MB / 1.095 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/8.221, allocations: 0 / 1.095 GB, free: 7.777 MB / 0.8698 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.971684525255114] Failed to read output from testmodel.py, exit status != 0: 8.317159346304834 8.32737993 7.717703344 Calling exit ...