Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.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.0007628/0.0007628, 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.001014/0.001014, allocations: 223.7 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.8856/0.8856, allocations: 230.6 MB / 256 MB, free: 9.797 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.732/0.732, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",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.0008998/0.0008998, allocations: 65.02 kB / 0.7182 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4448, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1419/0.5867, allocations: 177.6 MB / 0.9913 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002885/0.5896, allocations: 2.46 MB / 0.9937 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.5899, allocations: 19.81 kB / 0.9937 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009861/0.5909, allocations: 238.4 kB / 0.9939 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.5924, allocations: 1.019 MB / 0.9949 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.5937, allocations: 0.8777 MB / 0.9958 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008414/0.5946, allocations: 0.9935 MB / 0.9968 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.5949, allocations: 263.5 kB / 0.997 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007474/0.5956, allocations: 0.6306 MB / 0.9976 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.5959, allocations: 322.7 kB / 0.9979 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.596, allocations: 36 kB / 0.998 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.5972, allocations: 1.099 MB / 0.9991 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.5973, allocations: 163.4 kB / 0.9992 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.5975, allocations: 234.9 kB / 0.9994 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.5985, allocations: 0.9538 MB / 1 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5985, allocations: 0 / 1 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5985, allocations: 0 / 1 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.5985, allocations: 0 / 1 GB, free: 10.49 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0011/0.5996, allocations: 0.757 MB / 1.001 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.5997, allocations: 12.03 kB / 1.001 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.5997, allocations: 66.53 kB / 1.001 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008366/0.6006, allocations: 235.3 kB / 1.001 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.601, allocations: 335.9 kB / 1.002 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.601, allocations: 20.66 kB / 1.002 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.6011, allocations: 32 kB / 1.002 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.6015, allocations: 412.9 kB / 1.002 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.6015, allocations: 0 / 1.002 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.6016, allocations: 12 kB / 1.002 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.6016, allocations: 12 kB / 1.002 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004066/0.602, allocations: 317.6 kB / 1.002 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.6033, allocations: 1.677 MB / 1.004 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.6037, allocations: 268.8 kB / 1.004 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.6039, allocations: 140.7 kB / 1.005 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.6041, allocations: 71.78 kB / 1.005 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.6041, allocations: 38.56 kB / 1.005 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.6041, allocations: 0 / 1.005 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0007047/0.6048, allocations: 442.6 kB / 1.005 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.6048, allocations: 51.41 kB / 1.005 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.6052, allocations: 422 kB / 1.005 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.6052, allocations: 33.7 kB / 1.006 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.6053, allocations: 216.4 kB / 1.006 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.6053, allocations: 87.25 kB / 1.006 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.6054, allocations: 57.59 kB / 1.006 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.6055, allocations: 354.7 kB / 1.006 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.6057, allocations: 103.9 kB / 1.006 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.6058, allocations: 156 kB / 1.006 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.6062, allocations: 250.1 kB / 1.007 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6062, allocations: 8.031 kB / 1.007 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004144/0.6066, allocations: 329.2 kB / 1.007 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6066, allocations: 6.188 kB / 1.007 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.6066, allocations: 0 / 1.007 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.6066, allocations: 4 kB / 1.007 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.6068, allocations: 67.92 kB / 1.007 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6068, allocations: 0 / 1.007 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.607, allocations: 47.7 kB / 1.007 GB, free: 3.234 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.607, allocations: 11.94 kB / 1.007 GB, free: 3.223 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.6071, allocations: 161.8 kB / 1.007 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.6071, allocations: 43.72 kB / 1.007 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.6076, allocations: 342 kB / 1.008 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6076, allocations: 0 / 1.008 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6076, allocations: 3.984 kB / 1.008 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6076, allocations: 0 / 1.008 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.6089, allocations: 0.8655 MB / 1.009 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6089, allocations: 0 / 1.009 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.6091, allocations: 55.89 kB / 1.009 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6091, allocations: 8.188 kB / 1.009 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.6091, allocations: 11.98 kB / 1.009 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.6091, allocations: 11.88 kB / 1.009 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6091, allocations: 4 kB / 1.009 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/0.6098, allocations: 0.5938 MB / 1.009 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.6099, allocations: 79.59 kB / 1.009 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.6099, allocations: 12 kB / 1.009 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.6101, allocations: 19.97 kB / 1.009 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.6101, allocations: 15.97 kB / 1.009 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.6101, allocations: 12 kB / 1.009 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002121/0.6103, allocations: 299.1 kB / 1.01 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.6103, allocations: 0 / 1.01 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003127/0.6107, allocations: 115.9 kB / 1.01 GB, free: 480 kB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.6117, allocations: 1.193 MB / 1.011 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.6121, allocations: 252.2 kB / 1.011 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.6121, allocations: 0 / 1.011 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.6123, allocations: 134.7 kB / 1.011 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.6129, allocations: 232.5 kB / 1.011 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.6167, allocations: 3.88 MB / 1.015 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.6169, allocations: 0.8272 MB / 1.016 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.6172, allocations: 95.33 kB / 1.016 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.6173, allocations: 135.4 kB / 1.016 GB, free: 9.535 MB / 0.7917 GB Notification: Performance of SimCode: time 1.022e-06/0.6173, allocations: 0 / 1.016 GB, free: 9.535 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.6447, allocations: 12.73 MB / 1.029 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.706, allocations: 10.27 kB / 1.029 GB, free: 13.04 MB / 0.8073 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.3815053680446] Failed to read output from testmodel.py, exit status != 0: 7.790774968918413 7.802861419 7.201572674 Calling exit ...