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.0006803/0.0006803, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0006983/0.0006983, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.9101/0.9101, allocations: 230.6 MB / 256 MB, free: 9.84 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.7394/0.7394, allocations: 203.8 MB / 0.5042 GB, free: 10.79 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.0009415/0.0009415, allocations: 67.77 kB / 0.7182 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4528, allocations: 102 MB / 0.8179 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.1608/0.6136, allocations: 196.7 MB / 1.01 GB, free: 0.6406 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005239/0.6189, allocations: 4.245 MB / 1.014 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000905/0.6198, allocations: 23.81 kB / 1.014 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.621, allocations: 0.4891 MB / 1.015 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.6241, allocations: 1.672 MB / 1.016 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.6268, allocations: 1.429 MB / 1.018 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002487/0.6293, allocations: 1.686 MB / 1.019 GB, free: 7.07 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.6304, allocations: 0.8539 MB / 1.02 GB, free: 6.203 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.6326, allocations: 1.137 MB / 1.021 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.634, allocations: 0.9306 MB / 1.022 GB, free: 4.129 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.6343, allocations: 104 kB / 1.022 GB, free: 4.027 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.6369, allocations: 1.45 MB / 1.024 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005012/0.6374, allocations: 382.8 kB / 1.024 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006482/0.6381, allocations: 0.5288 MB / 1.025 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.641, allocations: 1.729 MB / 1.026 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.641, allocations: 4 kB / 1.026 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.035e-06/0.641, allocations: 7.938 kB / 1.026 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.6411, allocations: 0 / 1.026 GB, free: 15.92 MB / 0.8073 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.002261/0.6433, allocations: 1.2 MB / 1.027 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.6434, allocations: 12.03 kB / 1.027 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.6435, allocations: 94.52 kB / 1.028 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.6452, allocations: 430.8 kB / 1.028 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.6462, allocations: 0.5772 MB / 1.028 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.6462, allocations: 44.98 kB / 1.029 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.976e-05/0.6463, allocations: 51.94 kB / 1.029 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.6477, allocations: 1.136 MB / 1.03 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.6478, allocations: 0 / 1.03 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.6478, allocations: 24 kB / 1.03 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.6479, allocations: 27.98 kB / 1.03 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.6494, allocations: 1.206 MB / 1.031 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004634/0.6541, allocations: 4.349 MB / 1.035 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.6554, allocations: 0.8482 MB / 1.036 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.6562, allocations: 0.5721 MB / 1.037 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/0.6564, allocations: 92.33 kB / 1.037 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.6565, allocations: 38.98 kB / 1.037 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001317/0.6578, allocations: 0.6361 MB / 1.037 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=50): time 4.749e-06/0.6578, allocations: 0 / 1.037 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of matching and sorting (n=50): time 0.009557/0.6674, allocations: 3.972 MB / 1.041 GB, free: 276 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.6674, allocations: 55.84 kB / 1.041 GB, free: 208 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.6683, allocations: 0.7273 MB / 1.042 GB, free: 15.46 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002404/0.6685, allocations: 33.7 kB / 1.042 GB, free: 15.42 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.6688, allocations: 332.9 kB / 1.042 GB, free: 15.09 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.6689, allocations: 182.4 kB / 1.042 GB, free: 14.91 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.6691, allocations: 158 kB / 1.043 GB, free: 14.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.6692, allocations: 322 kB / 1.043 GB, free: 14.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/0.6699, allocations: 0.4889 MB / 1.043 GB, free: 13.95 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007019/0.6706, allocations: 0.5827 MB / 1.044 GB, free: 13.33 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.672, allocations: 1.098 MB / 1.045 GB, free: 12.21 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.672, allocations: 0 / 1.045 GB, free: 12.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006331/0.6783, allocations: 2.756 MB / 1.048 GB, free: 9.438 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.6784, allocations: 8 kB / 1.048 GB, free: 9.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6784, allocations: 0 / 1.048 GB, free: 9.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004377/0.6827, allocations: 1.722 MB / 1.049 GB, free: 7.699 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.6832, allocations: 131.8 kB / 1.05 GB, free: 7.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/0.691, allocations: 6.94 MB / 1.056 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/0.6917, allocations: 48.02 kB / 1.056 GB, free: 352 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.521e-05/0.6918, allocations: 55.91 kB / 1.056 GB, free: 296 kB / 0.823 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.0003392/0.6922, allocations: 201.8 kB / 1.057 GB, free: 84 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.6923, allocations: 83.67 kB / 1.057 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.6954, allocations: 1.923 MB / 1.059 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.6954, allocations: 11.94 kB / 1.059 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6954, allocations: 4.25 kB / 1.059 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6954, allocations: 7.984 kB / 1.059 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.6996, allocations: 2.815 MB / 1.061 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6997, allocations: 0 / 1.061 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.7, allocations: 120 kB / 1.061 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.7016, allocations: 0.7981 MB / 1.062 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.7017, allocations: 23.92 kB / 1.062 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004092/0.7058, allocations: 4.644 MB / 1.067 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7058, allocations: 3.938 kB / 1.067 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/0.7097, allocations: 2.461 MB / 1.069 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/0.7102, allocations: 175.4 kB / 1.069 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.7102, allocations: 12 kB / 1.069 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.7107, allocations: 51.94 kB / 1.069 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.7109, allocations: 52.27 kB / 1.069 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.7109, allocations: 23.98 kB / 1.07 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004852/0.7114, allocations: 0.5068 MB / 1.07 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7114, allocations: 0 / 1.07 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008555/0.7122, allocations: 307.8 kB / 1.07 GB, free: 1.707 MB / 0.8386 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.004158/0.7164, allocations: 3.085 MB / 1.073 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.7191, allocations: 1.611 MB / 1.075 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7191, allocations: 0 / 1.075 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.7205, allocations: 0.9606 MB / 1.076 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.7219, allocations: 469.1 kB / 1.076 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/0.7408, allocations: 11.14 MB / 1.087 GB, free: 144 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.7413, allocations: 0.9828 MB / 1.088 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006903/0.742, allocations: 166.7 kB / 1.088 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.7424, allocations: 291.3 kB / 1.089 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of SimCode: time 1.683e-06/0.7424, allocations: 0 / 1.089 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0561/0.7985, allocations: 32.39 MB / 1.12 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/9.355, allocations: 14.48 kB / 1.12 GB, free: 14.59 MB / 0.9011 GB " [Timeout remaining time 651] (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: 12.081503852037713] Failed to read output from testmodel.py, exit status != 0: 9.451528914039955 9.465818422 8.821880056 Calling exit ...