Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_Kofranek2014_NonPulsatileCirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_Kofranek2014_NonPulsatileCirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009512/0.009512, allocations: 168.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 105.1 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2219/0.2219, allocations: 37.08 MB / 378.4 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 8 kB / 449.1 MB, free: 61.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1146, allocations: 60.08 MB / 0.4972 GB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.5769, allocations: 171.8 MB / 0.665 GB, free: 15.07 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.5772, allocations: 90.27 kB / 0.665 GB, free: 15.03 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13/1.707, allocations: 279.8 MB / 0.9383 GB, free: 60.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/1.707, allocations: 1.375 kB / 0.9383 GB, free: 60.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.974e-05/1.707, allocations: 28.95 kB / 0.9383 GB, free: 60.37 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.006359/1.713, allocations: 2.344 MB / 0.9406 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/1.713, allocations: 16.3 kB / 0.9406 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/1.714, allocations: 113.5 kB / 0.9407 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/1.714, allocations: 109.2 kB / 0.9409 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/1.716, allocations: 0.7316 MB / 0.9416 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/1.716, allocations: 58.78 kB / 0.9416 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/1.716, allocations: 73.09 kB / 0.9417 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/1.717, allocations: 0.8155 MB / 0.9425 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/1.717, allocations: 1.375 kB / 0.9425 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/1.717, allocations: 26.97 kB / 0.9425 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/1.717, allocations: 24.69 kB / 0.9425 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/1.719, allocations: 0.7121 MB / 0.9432 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/1.723, allocations: 3.316 MB / 0.9465 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/1.724, allocations: 0.6885 MB / 0.9471 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002832/1.727, allocations: 2.038 MB / 0.9491 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.727, allocations: 43.47 kB / 0.9492 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/1.727, allocations: 0 / 0.9492 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.002388/1.73, allocations: 1.231 MB / 0.9504 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/1.73, allocations: 55.97 kB / 0.9504 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.731, allocations: 0.7076 MB / 0.9511 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/1.731, allocations: 36.3 kB / 0.9512 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/1.731, allocations: 477.3 kB / 0.9516 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/1.731, allocations: 166.5 kB / 0.9518 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/1.732, allocations: 15 kB / 0.9518 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/1.732, allocations: 336.5 kB / 0.9521 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006358/1.732, allocations: 265.5 kB / 0.9524 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/1.733, allocations: 0.5352 MB / 0.9529 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/1.734, allocations: 327.8 kB / 0.9532 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.734, allocations: 2.75 kB / 0.9532 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002139/1.736, allocations: 1.005 MB / 0.9542 GB, free: 54.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.736, allocations: 8.375 kB / 0.9542 GB, free: 54.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/1.736, allocations: 13.48 kB / 0.9542 GB, free: 54.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/1.737, allocations: 181.1 kB / 0.9544 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/1.737, allocations: 171.1 kB / 0.9545 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/1.738, allocations: 2.229 MB / 0.9567 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/1.74, allocations: 126.5 kB / 0.9568 GB, free: 51.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/1.74, allocations: 43.83 kB / 0.9569 GB, free: 51.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (89): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004735/1.74, allocations: 228.7 kB / 0.9571 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/1.74, allocations: 92.22 kB / 0.9572 GB, free: 51.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/1.742, allocations: 0.7348 MB / 0.9579 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/1.742, allocations: 4.594 kB / 0.9579 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.742, allocations: 1.594 kB / 0.9579 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/1.742, allocations: 5 kB / 0.9579 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/1.743, allocations: 0.7347 MB / 0.9586 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.743, allocations: 1.188 kB / 0.9586 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/1.744, allocations: 90.42 kB / 0.9587 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/1.744, allocations: 171.1 kB / 0.9589 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/1.744, allocations: 17.75 kB / 0.9589 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/1.745, allocations: 2.215 MB / 0.9611 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.745, allocations: 0 / 0.9611 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/1.747, allocations: 1.114 MB / 0.9621 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/1.748, allocations: 234.5 kB / 0.9624 GB, free: 48.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.748, allocations: 11.45 kB / 0.9624 GB, free: 48.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/1.749, allocations: 55.73 kB / 0.9624 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/1.749, allocations: 35.45 kB / 0.9625 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/1.749, allocations: 20.88 kB / 0.9625 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008942/1.75, allocations: 0.5415 MB / 0.963 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/1.75, allocations: 0 / 0.963 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004893/1.755, allocations: 1.142 MB / 0.9641 GB, free: 48.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (PulmonaryArteries.enthalpy,PulmonaryArteries.mass,PulmonaryVeins.enthalpy,PulmonaryVeins.mass,SystemicVeins.enthalpy,SystemicVeins.mass,SystemicArteries.enthalpy,SystemicArteries.mass) * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007606/1.762, allocations: 3.386 MB / 0.9674 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002015/1.764, allocations: 0.6742 MB / 0.9681 GB, free: 47.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.764, allocations: 0 / 0.9681 GB, free: 47.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006653/1.765, allocations: 317.8 kB / 0.9684 GB, free: 47.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/1.767, allocations: 394.4 kB / 0.9688 GB, free: 47.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.778, allocations: 11.49 MB / 0.98 GB, free: 40.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/1.779, allocations: 1.017 MB / 0.981 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009082/1.78, allocations: 160.7 kB / 0.9811 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/1.78, allocations: 328.5 kB / 0.9815 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/1.78, allocations: 0 / 0.9815 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07032/1.85, allocations: 47.23 MB / 1.028 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/1.851, allocations: 227.5 kB / 1.028 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/5.568, allocations: 0 / 1.028 GB, free: 36.3 MB / 0.5105 GB (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_Kofranek2014_NonPulsatileCirculation_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_Kofranek2014_NonPulsatileCirculation.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1)