Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.108/0.108, allocations: 15.28 MB / 30.53 MB, free: 3.195 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009761/0.0009762, allocations: 194.8 kB / 35.63 MB, free: 2.246 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.7 MB / 266.3 MB, free: 6.215 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008244, allocations: 98.75 kB / 321.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1275/0.1275, allocations: 20.56 MB / 397.6 MB, free: 42.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005059, allocations: 16 kB / 469.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4271, allocations: 59.78 MB / 0.5168 GB, free: 40.79 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1144:9-1144:68:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1144:9-1144:68:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_4element): time 0.09494/0.5221, allocations: 93.79 MB / 0.6084 GB, free: 1.816 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03777/0.5599, allocations: 35.5 MB / 0.6431 GB, free: 14.01 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.5619, allocations: 31.75 kB / 0.6431 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.5639, allocations: 332.2 kB / 0.6434 GB, free: 13.74 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009143/0.5731, allocations: 2.188 MB / 0.6456 GB, free: 11.98 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.5846, allocations: 2.425 MB / 0.6479 GB, free: 10 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.5884, allocations: 2.175 MB / 0.65 GB, free: 8.262 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.5896, allocations: 424.1 kB / 0.6505 GB, free: 7.941 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.5915, allocations: 0.5488 MB / 0.651 GB, free: 7.391 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.5929, allocations: 0.5332 MB / 0.6515 GB, free: 6.855 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.5931, allocations: 32 kB / 0.6515 GB, free: 6.824 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/0.607, allocations: 3.111 MB / 0.6546 GB, free: 3.707 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.6073, allocations: 127.5 kB / 0.6547 GB, free: 3.582 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006847/0.608, allocations: 324.3 kB / 0.655 GB, free: 3.258 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.6221, allocations: 3.55 MB / 0.6585 GB, free: 15.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.6221, allocations: 0 / 0.6585 GB, free: 15.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6221, allocations: 0 / 0.6585 GB, free: 15.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.6222, allocations: 4 kB / 0.6585 GB, free: 15.69 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003163/0.6253, allocations: 1.205 MB / 0.6597 GB, free: 14.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.6254, allocations: 12.03 kB / 0.6597 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.6257, allocations: 63.33 kB / 0.6597 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009451/0.6266, allocations: 410.3 kB / 0.6601 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/0.6268, allocations: 32.98 kB / 0.6602 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.6269, allocations: 44 kB / 0.6602 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.6282, allocations: 0.5145 MB / 0.6607 GB, free: 13.31 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.6282, allocations: 0 / 0.6607 GB, free: 13.31 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/0.6283, allocations: 19.94 kB / 0.6607 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.6283, allocations: 8 kB / 0.6607 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.6295, allocations: 495.7 kB / 0.6612 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.6335, allocations: 2.28 MB / 0.6634 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008093/0.6343, allocations: 422 kB / 0.6638 GB, free: 9.855 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/0.6347, allocations: 209.1 kB / 0.664 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/0.6364, allocations: 1.084 MB / 0.6651 GB, free: 8.465 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000447/0.6369, allocations: 232.8 kB / 0.6653 GB, free: 8.227 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002321/0.6371, allocations: 47.66 kB / 0.6653 GB, free: 8.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=39): time 2.305e-06/0.6371, allocations: 0 / 0.6653 GB, free: 8.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.001661/0.6388, allocations: 0.7978 MB / 0.6661 GB, free: 7.332 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.6389, allocations: 63.16 kB / 0.6662 GB, free: 7.258 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.6393, allocations: 385.6 kB / 0.6666 GB, free: 6.871 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.6394, allocations: 33.7 kB / 0.6666 GB, free: 6.832 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.6396, allocations: 248.1 kB / 0.6668 GB, free: 6.586 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.6397, allocations: 130.1 kB / 0.6669 GB, free: 6.457 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.6397, allocations: 12 kB / 0.667 GB, free: 6.445 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6399, allocations: 350.8 kB / 0.6673 GB, free: 6.094 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.6403, allocations: 169 kB / 0.6675 GB, free: 5.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.6407, allocations: 280.7 kB / 0.6677 GB, free: 5.613 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.6415, allocations: 436.2 kB / 0.6681 GB, free: 5.152 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6415, allocations: 0 / 0.6681 GB, free: 5.152 MB / 474.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001199/0.6427, allocations: 0.5723 MB / 0.6687 GB, free: 4.562 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6428, allocations: 11.94 kB / 0.6687 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6428, allocations: 4 kB / 0.6687 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.6431, allocations: 69.95 kB / 0.6688 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.6435, allocations: 95.83 kB / 0.6689 GB, free: 4.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000797/0.6443, allocations: 1.109 MB / 0.67 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.6448, allocations: 39.97 kB / 0.67 GB, free: 3.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.6449, allocations: 24.03 kB / 0.67 GB, free: 3.156 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulses.T0,pulses.T0,pulses.b,$PRE.pulses.HP,pulses.HP,$PRE.pulses.TD2,pulses.TD2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.6451, allocations: 185.7 kB / 0.6702 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.6452, allocations: 47.38 kB / 0.6702 GB, free: 2.918 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.6464, allocations: 0.5487 MB / 0.6708 GB, free: 2.352 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.6464, allocations: 4 kB / 0.6708 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6464, allocations: 0 / 0.6708 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6464, allocations: 3.938 kB / 0.6708 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.6483, allocations: 1.071 MB / 0.6718 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6483, allocations: 4 kB / 0.6718 GB, free: 1.203 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.6486, allocations: 67.89 kB / 0.6719 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.6488, allocations: 65.7 kB / 0.672 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.6488, allocations: 8 kB / 0.672 GB, free: 1.059 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007655/0.6496, allocations: 1.101 MB / 0.673 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6496, allocations: 0 / 0.673 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.651, allocations: 0.7666 MB / 0.6738 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.6512, allocations: 156.5 kB / 0.6739 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.6513, allocations: 16 kB / 0.674 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.6516, allocations: 39.91 kB / 0.674 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6517, allocations: 31.89 kB / 0.674 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.6518, allocations: 19.98 kB / 0.674 GB, free: 14.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003262/0.6521, allocations: 275.1 kB / 0.6743 GB, free: 14.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6521, allocations: 0 / 0.6743 GB, free: 14.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002418/0.6546, allocations: 0.8426 MB / 0.6751 GB, free: 13.72 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (arteries.enthalpy,arteries.mass,inertia.q_in.m_flow) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003678/0.6582, allocations: 1.411 MB / 0.6765 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.6593, allocations: 448.7 kB / 0.6769 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6593, allocations: 4.062 kB / 0.6769 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.6598, allocations: 215.8 kB / 0.6771 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009918/0.6608, allocations: 183 kB / 0.6773 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.663, allocations: 1.32 MB / 0.6786 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.6635, allocations: 0.8355 MB / 0.6794 GB, free: 9.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.6639, allocations: 108 kB / 0.6795 GB, free: 9.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.6641, allocations: 47.41 kB / 0.6796 GB, free: 9.113 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6641, allocations: 0 / 0.6796 GB, free: 9.113 MB / 490.7 MB Notification: Performance of Templates: time 0.2863/0.9504, allocations: 25.82 MB / 0.7048 GB, free: 138.6 MB / 490.7 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1)