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.0008376/0.0008376, 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.001072/0.001072, allocations: 217.7 kB / 22.26 MB, free: 3.699 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 1.024/1.024, allocations: 230.6 MB / 256 MB, free: 9.793 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.7971/0.7971, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.0009919/0.0009919, allocations: 66.47 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4905, 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.1477/0.6382, allocations: 177.6 MB / 0.9913 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.6407, allocations: 2.456 MB / 0.9937 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.6409, allocations: 19.81 kB / 0.9937 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.6415, allocations: 242.4 kB / 0.9939 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.6429, allocations: 1.019 MB / 0.9949 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.6441, allocations: 0.8663 MB / 0.9958 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009402/0.645, allocations: 0.9936 MB / 0.9968 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.6453, allocations: 275.4 kB / 0.997 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006858/0.646, allocations: 0.6267 MB / 0.9976 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.6463, allocations: 326.7 kB / 0.9979 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.6463, allocations: 36 kB / 0.998 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.6474, allocations: 1.099 MB / 0.9991 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.6475, allocations: 159.4 kB / 0.9992 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.6476, allocations: 234.9 kB / 0.9994 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009311/0.6486, allocations: 0.9577 MB / 1 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6486, allocations: 0 / 1 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6486, allocations: 0 / 1 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.6486, allocations: 0 / 1 GB, free: 10.5 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.0008612/0.6494, allocations: 0.7609 MB / 1.001 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.6495, allocations: 12.03 kB / 1.001 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.6495, allocations: 66.53 kB / 1.001 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.6504, allocations: 235.3 kB / 1.001 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.6508, allocations: 339.9 kB / 1.002 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.6508, allocations: 20.66 kB / 1.002 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.6509, allocations: 28 kB / 1.002 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.6514, allocations: 404.9 kB / 1.002 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.6514, allocations: 0 / 1.002 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.6514, allocations: 16 kB / 1.002 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.6514, allocations: 8 kB / 1.002 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/0.6518, allocations: 325.6 kB / 1.002 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.6532, allocations: 1.673 MB / 1.004 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.6537, allocations: 276.5 kB / 1.004 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.6539, allocations: 132.8 kB / 1.005 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.6541, allocations: 75.78 kB / 1.005 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.6541, allocations: 38.56 kB / 1.005 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.6541, allocations: 0 / 1.005 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0007225/0.6548, allocations: 429 kB / 1.005 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.6549, allocations: 55.41 kB / 1.005 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.6552, allocations: 425.9 kB / 1.005 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.6552, allocations: 29.7 kB / 1.006 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.6553, allocations: 224.4 kB / 1.006 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.6554, allocations: 87.25 kB / 1.006 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.6555, allocations: 53.66 kB / 1.006 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.6556, allocations: 354.7 kB / 1.006 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.6557, allocations: 99.92 kB / 1.006 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.6559, allocations: 152 kB / 1.006 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.6563, allocations: 257.7 kB / 1.007 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6563, allocations: 0 / 1.007 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004344/0.6567, allocations: 334 kB / 1.007 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.6567, allocations: 6.188 kB / 1.007 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6567, allocations: 3.938 kB / 1.007 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.6567, allocations: 4 kB / 1.007 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.6569, allocations: 59.89 kB / 1.007 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6569, allocations: 0 / 1.007 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.6571, allocations: 47.75 kB / 1.007 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.6571, allocations: 19.92 kB / 1.007 GB, free: 3.234 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.0001297/0.6572, allocations: 157.8 kB / 1.007 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.6573, allocations: 47.72 kB / 1.007 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.6577, allocations: 329.2 kB / 1.008 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6577, allocations: 8 kB / 1.008 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6577, allocations: 3.938 kB / 1.008 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6578, allocations: 3.984 kB / 1.008 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009184/0.6587, allocations: 0.8655 MB / 1.009 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6587, allocations: 112 / 1.009 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.6588, allocations: 67.77 kB / 1.009 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.6588, allocations: 4 kB / 1.009 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.6589, allocations: 12.19 kB / 1.009 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.6589, allocations: 3.984 kB / 1.009 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6589, allocations: 7.938 kB / 1.009 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.6595, allocations: 0.5869 MB / 1.009 GB, free: 1.023 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.6596, allocations: 79.66 kB / 1.009 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.6597, allocations: 4 kB / 1.009 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.6598, allocations: 23.97 kB / 1.009 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.6599, allocations: 23.91 kB / 1.009 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.6599, allocations: 12 kB / 1.009 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002109/0.6601, allocations: 299.1 kB / 1.01 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.6601, allocations: 0 / 1.01 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004328/0.6605, allocations: 111.9 kB / 1.01 GB, free: 496 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.0009672/0.6615, allocations: 1.189 MB / 1.011 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004089/0.6619, allocations: 256.8 kB / 1.011 GB, free: 15 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6619, allocations: 0 / 1.011 GB, free: 15 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.6621, allocations: 142.2 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.0006427/0.6627, allocations: 228.1 kB / 1.011 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.6664, allocations: 3.881 MB / 1.015 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.6667, allocations: 0.8233 MB / 1.016 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000218/0.6669, allocations: 87.34 kB / 1.016 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.667, allocations: 147.4 kB / 1.016 GB, free: 9.547 MB / 0.7917 GB Notification: Performance of SimCode: time 7.01e-07/0.667, allocations: 0 / 1.016 GB, free: 9.547 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.6916, allocations: 12.73 MB / 1.029 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.827, allocations: 6.25 kB / 1.029 GB, free: 13.05 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.96760851610452] Failed to read output from testmodel.py, exit status != 0: 7.915645083179697 7.929007771 7.278293316 Calling exit ...