Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001298/0.001298, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.00145/0.00145, allocations: 217.8 kB / 23.03 MB, free: 4.922 MB / 14.72 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8621/0.8621, allocations: 134 MB / 447.2 MB, free: 9.902 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",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.001938/0.001938, allocations: 70 kB / 0.6193 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1693, allocations: 85.91 MB / 0.7032 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5401/0.7094, allocations: 171.7 MB / 0.8709 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.7208, allocations: 6.541 MB / 0.8772 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.7226, allocations: 67.38 kB / 0.8773 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.7247, allocations: 0.6909 MB / 0.878 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006816/0.7315, allocations: 2.424 MB / 0.8804 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.7351, allocations: 1.456 MB / 0.8818 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00442/0.7395, allocations: 3.045 MB / 0.8848 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.7407, allocations: 0.7146 MB / 0.8854 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.7432, allocations: 1.198 MB / 0.8866 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.7447, allocations: 0.8471 MB / 0.8874 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.7449, allocations: 100 kB / 0.8875 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.7483, allocations: 1.714 MB / 0.8892 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004389/0.7487, allocations: 386.6 kB / 0.8896 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005831/0.7493, allocations: 477.7 kB / 0.89 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.7526, allocations: 2.378 MB / 0.8924 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7526, allocations: 0 / 0.8924 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7526, allocations: 4 kB / 0.8924 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.7526, allocations: 0 / 0.8924 GB, free: 2.215 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003485/0.7561, allocations: 1.598 MB / 0.8939 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.7562, allocations: 8.031 kB / 0.8939 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.031e-05/0.7562, allocations: 17.31 kB / 0.8939 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.7564, allocations: 114.4 kB / 0.8941 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.7594, allocations: 0.5425 MB / 0.8946 GB, free: 15.88 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.7616, allocations: 0.9663 MB / 0.8955 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/0.7617, allocations: 57.31 kB / 0.8956 GB, free: 14.83 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.7618, allocations: 71.94 kB / 0.8957 GB, free: 14.76 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.7644, allocations: 1.238 MB / 0.8969 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.7644, allocations: 0 / 0.8969 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/0.7645, allocations: 28 kB / 0.8969 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.7646, allocations: 33.3 kB / 0.8969 GB, free: 13.41 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003088/0.7676, allocations: 1.197 MB / 0.8981 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.7735, allocations: 2.879 MB / 0.9009 GB, free: 9.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.7753, allocations: 0.6843 MB / 0.9016 GB, free: 8.555 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008152/0.7761, allocations: 418.2 kB / 0.902 GB, free: 8.141 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/0.7766, allocations: 136.3 kB / 0.9021 GB, free: 8.008 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.7778, allocations: 0.6472 MB / 0.9027 GB, free: 7.301 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 2.575e-06/0.7778, allocations: 0 / 0.9027 GB, free: 7.301 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.003169/0.7809, allocations: 1.307 MB / 0.904 GB, free: 5.969 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.781, allocations: 136.9 kB / 0.9041 GB, free: 5.805 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.783, allocations: 1.176 MB / 0.9053 GB, free: 4.613 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-05/0.7831, allocations: 37.7 kB / 0.9053 GB, free: 4.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.7835, allocations: 445.8 kB / 0.9057 GB, free: 4.133 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.7837, allocations: 202.3 kB / 0.9059 GB, free: 3.934 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.784, allocations: 142.2 kB / 0.9061 GB, free: 3.785 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.7842, allocations: 330 kB / 0.9064 GB, free: 3.457 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.7854, allocations: 474.7 kB / 0.9068 GB, free: 2.988 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.7871, allocations: 0.9854 MB / 0.9078 GB, free: 1.867 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.7892, allocations: 0.9254 MB / 0.9087 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7892, allocations: 0 / 0.9087 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003412/0.7926, allocations: 1.241 MB / 0.9099 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/0.7927, allocations: 37.7 kB / 0.91 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.7927, allocations: 11.92 kB / 0.91 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.7927, allocations: 11.94 kB / 0.91 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/0.7937, allocations: 183.8 kB / 0.9102 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.7937, allocations: 8 kB / 0.9102 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.7953, allocations: 244.2 kB / 0.9104 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.881e-05/0.7954, allocations: 39.97 kB / 0.9104 GB, free: 15.09 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0005642/0.796, allocations: 327.3 kB / 0.9107 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.7962, allocations: 123.2 kB / 0.9109 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.7986, allocations: 1.033 MB / 0.9119 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.7986, allocations: 4 kB / 0.9119 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.7986, allocations: 4 kB / 0.9119 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.7986, allocations: 3.984 kB / 0.9119 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005241/0.8038, allocations: 3.008 MB / 0.9148 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.8038, allocations: 8 kB / 0.9148 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/0.8045, allocations: 124 kB / 0.9149 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/0.8045, allocations: 8.516 kB / 0.915 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.8045, allocations: 31.98 kB / 0.915 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/0.8045, allocations: 11.94 kB / 0.915 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.8046, allocations: 8 kB / 0.915 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.8069, allocations: 1.388 MB / 0.9164 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005971/0.8075, allocations: 262.9 kB / 0.9166 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.8077, allocations: 16 kB / 0.9166 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.8088, allocations: 99.89 kB / 0.9167 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.809, allocations: 71.67 kB / 0.9168 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/0.8091, allocations: 43.97 kB / 0.9168 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001522/0.8106, allocations: 0.8443 MB / 0.9177 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8106, allocations: 0 / 0.9177 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001103/0.8117, allocations: 299.6 kB / 0.9179 GB, free: 7.09 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.003172/0.8148, allocations: 2.169 MB / 0.9201 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002512/0.8174, allocations: 1.032 MB / 0.9211 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8174, allocations: 3.938 kB / 0.9211 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009794/0.8183, allocations: 0.5064 MB / 0.9216 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/0.821, allocations: 0.5541 MB / 0.9221 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.8384, allocations: 9.598 MB / 0.9315 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.8389, allocations: 482.6 kB / 0.9319 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001044/0.84, allocations: 276.3 kB / 0.9322 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/0.8405, allocations: 359.3 kB / 0.9326 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of SimCode: time 9.72e-07/0.8405, allocations: 0 / 0.9326 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06777/0.9083, allocations: 34.14 MB / 0.9659 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.46, allocations: 4.062 kB / 0.9659 GB, free: 5.895 MB / 0.7325 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.084028884069994] Failed to read output from testmodel.py, exit status != 0: 14.644661978003569 14.663672452 13.907425551 Calling exit ...