Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.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.001244/0.001244, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001362/0.001362, allocations: 218.7 kB / 23.04 MB, free: 5.074 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.8919/0.8919, allocations: 134 MB / 447.2 MB, free: 10.21 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.Sensors.Examples.PPM,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_PPM",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.002793/0.002793, allocations: 69.91 kB / 0.6193 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1729, allocations: 85.9 MB / 0.7032 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6181/0.791, allocations: 218.9 MB / 0.917 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02761/0.8186, allocations: 21.59 MB / 0.9381 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.8204, allocations: 71.38 kB / 0.9382 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.8225, allocations: 0.7765 MB / 0.9389 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.834, allocations: 4.478 MB / 0.9433 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.8373, allocations: 1.128 MB / 0.9444 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005996/0.8433, allocations: 4.02 MB / 0.9483 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.8456, allocations: 1.164 MB / 0.9495 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/0.8493, allocations: 1.713 MB / 0.9511 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003942/0.8533, allocations: 1.665 MB / 0.9528 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005451/0.8538, allocations: 160 kB / 0.9529 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.8582, allocations: 1.964 MB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.8594, allocations: 0.7596 MB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.8614, allocations: 0.9643 MB / 0.9565 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006327/0.8678, allocations: 2.943 MB / 0.9594 GB, free: 48 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.8678, allocations: 7.938 kB / 0.9594 GB, free: 40 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8678, allocations: 0 / 0.9594 GB, free: 40 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.753e-05/0.8679, allocations: 0 / 0.9594 GB, free: 40 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.004955/0.8728, allocations: 2.026 MB / 0.9614 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.8729, allocations: 8.031 kB / 0.9614 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.871e-05/0.8729, allocations: 34.56 kB / 0.9614 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003938/0.8733, allocations: 190.1 kB / 0.9616 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/0.8757, allocations: 410.5 kB / 0.962 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.8782, allocations: 1.084 MB / 0.963 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.8783, allocations: 102.5 kB / 0.9631 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/0.8785, allocations: 140 kB / 0.9633 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.8811, allocations: 1.59 MB / 0.9648 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.8812, allocations: 0 / 0.9648 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.8813, allocations: 52 kB / 0.9649 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/0.8814, allocations: 58.38 kB / 0.9649 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.8835, allocations: 1.294 MB / 0.9662 GB, free: 8.879 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008954/0.8924, allocations: 6.398 MB / 0.9724 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.8939, allocations: 0.8996 MB / 0.9733 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.8946, allocations: 444.5 kB / 0.9737 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005924/0.8952, allocations: 108.5 kB / 0.9738 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.8953, allocations: 43.2 kB / 0.9739 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.065e-06/0.8953, allocations: 0 / 0.9739 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.005847/0.9011, allocations: 2.665 MB / 0.9765 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.9012, allocations: 60.41 kB / 0.9765 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.9032, allocations: 1.197 MB / 0.9777 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.9033, allocations: 45.7 kB / 0.9778 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007248/0.904, allocations: 0.6852 MB / 0.9784 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/0.9044, allocations: 329.2 kB / 0.9787 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/0.9048, allocations: 190.6 kB / 0.9789 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.905, allocations: 353.9 kB / 0.9793 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/0.9057, allocations: 369.8 kB / 0.9796 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.9067, allocations: 0.7285 MB / 0.9803 GB, free: 9.73 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/0.9188, allocations: 2.832 MB / 0.9831 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.9188, allocations: 4 kB / 0.9831 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002532/0.9213, allocations: 1.3 MB / 0.9844 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.9214, allocations: 12 kB / 0.9844 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.9214, allocations: 8.719 kB / 0.9844 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.9217, allocations: 134.4 kB / 0.9845 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.9225, allocations: 211.7 kB / 0.9847 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.9273, allocations: 5.066 MB / 0.9897 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.9285, allocations: 48.06 kB / 0.9897 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.9286, allocations: 47.98 kB / 0.9898 GB, free: 15.61 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007746/0.9294, allocations: 429.4 kB / 0.9902 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.9297, allocations: 147.1 kB / 0.9903 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.9317, allocations: 1.096 MB / 0.9914 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.9317, allocations: 8 kB / 0.9914 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.9317, allocations: 0 / 0.9914 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001492/0.9332, allocations: 1.047 MB / 0.9924 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005827/0.939, allocations: 2.826 MB / 0.9952 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.939, allocations: 4 kB / 0.9952 GB, free: 9.824 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007595/0.9398, allocations: 163.8 kB / 0.9953 GB, free: 9.664 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003066/0.9401, allocations: 127 kB / 0.9954 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.9402, allocations: 35.98 kB / 0.9955 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005011/0.9452, allocations: 5.049 MB / 1 GB, free: 4.109 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/0.9452, allocations: 19.94 kB / 1 GB, free: 4.09 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.948, allocations: 1.778 MB / 1.002 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/0.9488, allocations: 243 kB / 1.002 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002811/0.9491, allocations: 23.94 kB / 1.002 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008602/0.9499, allocations: 28.11 kB / 1.002 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.9501, allocations: 84.25 kB / 1.003 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/0.9502, allocations: 36 kB / 1.003 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001401/0.9516, allocations: 0.8421 MB / 1.003 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9516, allocations: 0 / 1.003 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001611/0.9532, allocations: 415.9 kB / 1.004 GB, free: 0.5508 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00337/0.9565, allocations: 2.434 MB / 1.006 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002107/0.9586, allocations: 1.261 MB / 1.007 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/0.9586, allocations: 4 kB / 1.007 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.9597, allocations: 0.7695 MB / 1.008 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/0.9637, allocations: 0.8996 MB / 1.009 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/0.9817, allocations: 11.27 MB / 1.02 GB, free: 15.27 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.9833, allocations: 1.363 MB / 1.021 GB, free: 13.87 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001559/0.9848, allocations: 352.6 kB / 1.022 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009391/0.9858, allocations: 0.5423 MB / 1.022 GB, free: 12.98 MB / 0.795 GB Notification: Performance of SimCode: time 1.112e-06/0.9858, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/1.101, allocations: 44.77 MB / 1.066 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.48, allocations: 4.062 kB / 1.066 GB, free: 0.7109 MB / 0.8262 GB " [Timeout remaining time 643] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.852384163066745] Failed to read output from testmodel.py, exit status != 0: 17.113999458029866 17.135545726 16.264589922 Calling exit ...