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.0007681/0.0007681, allocations: 76.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.0007747/0.0007747, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8712/0.8712, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.6892/0.6892, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.759e-05, allocations: 5.094 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.3802/0.3802, allocations: 170.3 MB / 0.7844 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.005625/0.3858, allocations: 3.943 MB / 0.7882 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.3866, allocations: 29 kB / 0.7883 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3876, allocations: 462.9 kB / 0.7887 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.3906, allocations: 1.669 MB / 0.7903 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.3932, allocations: 1.467 MB / 0.7918 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.3949, allocations: 1.71 MB / 0.7934 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000754/0.3957, allocations: 0.8619 MB / 0.7943 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.3974, allocations: 1.385 MB / 0.7956 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006895/0.3981, allocations: 0.8054 MB / 0.7964 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.3982, allocations: 103.5 kB / 0.7965 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.3999, allocations: 1.148 MB / 0.7976 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.4001, allocations: 391.9 kB / 0.798 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.4004, allocations: 411.3 kB / 0.7984 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.402, allocations: 1.835 MB / 0.8002 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.402, allocations: 4 kB / 0.8002 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.823e-06/0.402, allocations: 0 / 0.8002 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.402, allocations: 0 / 0.8002 GB, free: 1.059 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.001699/0.4037, allocations: 1.195 MB / 0.8014 GB, free: 144 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4037, allocations: 12.09 kB / 0.8014 GB, free: 144 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.4038, allocations: 96.89 kB / 0.8015 GB, free: 56 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.4054, allocations: 433.6 kB / 0.8019 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/0.4062, allocations: 0.5771 MB / 0.8025 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.4062, allocations: 41.69 kB / 0.8025 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.035e-05/0.4063, allocations: 48.59 kB / 0.8025 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4076, allocations: 1.179 MB / 0.8037 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.4076, allocations: 6.906 kB / 0.8037 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.4077, allocations: 25.39 kB / 0.8037 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.4077, allocations: 21.44 kB / 0.8037 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.4092, allocations: 1.213 MB / 0.8049 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.4129, allocations: 3.9 MB / 0.8087 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.4141, allocations: 0.8459 MB / 0.8096 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007034/0.4148, allocations: 0.5826 MB / 0.8101 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/0.4151, allocations: 81.41 kB / 0.8102 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4151, allocations: 41.97 kB / 0.8102 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00119/0.4163, allocations: 0.6335 MB / 0.8109 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=50): time 4.248e-06/0.4163, allocations: 0 / 0.8109 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of matching and sorting (n=50): time 0.009519/0.4258, allocations: 3.968 MB / 0.8147 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.4259, allocations: 61.09 kB / 0.8148 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.4265, allocations: 0.7221 MB / 0.8155 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/0.4266, allocations: 32.55 kB / 0.8155 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4268, allocations: 334.3 kB / 0.8159 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.4269, allocations: 186.4 kB / 0.816 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.4271, allocations: 152.3 kB / 0.8162 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.4272, allocations: 326.9 kB / 0.8165 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/0.4278, allocations: 0.4902 MB / 0.817 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006948/0.4285, allocations: 0.6317 MB / 0.8176 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.4298, allocations: 1.097 MB / 0.8187 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4299, allocations: 3.984 kB / 0.8187 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006226/0.4361, allocations: 2.747 MB / 0.8213 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4361, allocations: 5.188 kB / 0.8214 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.4361, allocations: 2.062 kB / 0.8214 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004479/0.4406, allocations: 1.726 MB / 0.823 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.441, allocations: 131.8 kB / 0.8232 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007493/0.4485, allocations: 6.876 MB / 0.8299 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.4492, allocations: 44.02 kB / 0.8299 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.4492, allocations: 59.91 kB / 0.83 GB, free: 10.17 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.0003355/0.4496, allocations: 206.7 kB / 0.8302 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.4497, allocations: 91.38 kB / 0.8303 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/0.4528, allocations: 1.908 MB / 0.8321 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4528, allocations: 8 kB / 0.8321 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4528, allocations: 4 kB / 0.8321 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.4528, allocations: 3.984 kB / 0.8321 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/0.4569, allocations: 2.672 MB / 0.8347 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4569, allocations: 4 kB / 0.8348 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.4573, allocations: 127.9 kB / 0.8349 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.4589, allocations: 0.7968 MB / 0.8357 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.4589, allocations: 15.98 kB / 0.8357 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003979/0.4629, allocations: 4.606 MB / 0.8402 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4629, allocations: 10.98 kB / 0.8402 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/0.4665, allocations: 2.454 MB / 0.8426 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.4668, allocations: 179.3 kB / 0.8427 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.4669, allocations: 8 kB / 0.8428 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.4673, allocations: 51.94 kB / 0.8428 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.4675, allocations: 56.39 kB / 0.8429 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.4675, allocations: 23.98 kB / 0.8429 GB, free: 12.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004186/0.4679, allocations: 0.499 MB / 0.8434 GB, free: 12.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.4679, allocations: 0 / 0.8434 GB, free: 12.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007164/0.4686, allocations: 299.9 kB / 0.8437 GB, free: 11.8 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 (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.0039/0.4725, allocations: 3.089 MB / 0.8467 GB, free: 8.664 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002538/0.4751, allocations: 1.608 MB / 0.8482 GB, free: 7.035 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4751, allocations: 0 / 0.8482 GB, free: 7.035 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.4765, allocations: 0.9574 MB / 0.8492 GB, free: 6.051 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.4778, allocations: 476.7 kB / 0.8496 GB, free: 5.609 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/0.4947, allocations: 11.06 MB / 0.8604 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.495, allocations: 385.4 kB / 0.8608 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004851/0.4955, allocations: 174.7 kB / 0.861 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.4958, allocations: 288.4 kB / 0.8612 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/0.4958, allocations: 3.938 kB / 0.8612 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/0.5463, allocations: 35.38 MB / 0.8958 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.918, allocations: 13.66 kB / 0.8958 GB, free: 6.723 MB / 0.7448 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.497815025039017] Failed to read output from testmodel.py, exit status != 0: 8.01504572853446 8.025628696 7.621886041 Calling exit ...