Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.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.MeanRespiration,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.MeanRespiration,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration",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.008492/0.008492, allocations: 169.8 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.382/1.382, allocations: 223.2 MB / 239 MB, free: 1.797 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.001149/0.001149, allocations: 98.78 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.2893/0.2893, allocations: 37.07 MB / 378.4 MB, free: 5.715 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005337/0.0005338, allocations: 15.98 kB / 449.1 MB, free: 61.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1061, allocations: 60.08 MB / 0.4972 GB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.5908, allocations: 207.1 MB / 0.6994 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.591, allocations: 75.84 kB / 0.6995 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.659/1.25, allocations: 160.8 MB / 0.8565 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/1.25, allocations: 0 / 0.8565 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.976e-05/1.25, allocations: 4 kB / 0.8565 GB, free: 84.57 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00338/1.253, allocations: 1.067 MB / 0.8576 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.254, allocations: 16.02 kB / 0.8576 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/1.254, allocations: 54.55 kB / 0.8576 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/1.254, allocations: 43.44 kB / 0.8577 GB, free: 83.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/1.255, allocations: 0.5844 MB / 0.8583 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/1.255, allocations: 24.56 kB / 0.8583 GB, free: 82.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-05/1.256, allocations: 16 kB / 0.8583 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.257, allocations: 0.6954 MB / 0.859 GB, free: 81.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.257, allocations: 0 / 0.859 GB, free: 81.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/1.257, allocations: 12 kB / 0.859 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.257, allocations: 4 kB / 0.859 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/1.258, allocations: 0.9741 MB / 0.8599 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/1.261, allocations: 1.541 MB / 0.8614 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/1.262, allocations: 358.6 kB / 0.8618 GB, free: 79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/1.262, allocations: 133 kB / 0.8619 GB, free: 78.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/1.262, allocations: 34.56 kB / 0.8619 GB, free: 78.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001418/1.263, allocations: 275.5 kB / 0.8622 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 4.659e-06/1.263, allocations: 0 / 0.8622 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.01085/1.274, allocations: 2.458 MB / 0.8646 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/1.274, allocations: 55.34 kB / 0.8647 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/1.275, allocations: 424.8 kB / 0.8651 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/1.275, allocations: 29.7 kB / 0.8651 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.275, allocations: 176.6 kB / 0.8653 GB, free: 75.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/1.275, allocations: 98.47 kB / 0.8654 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/1.275, allocations: 8 kB / 0.8654 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/1.275, allocations: 350.8 kB / 0.8657 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/1.276, allocations: 227.9 kB / 0.8659 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/1.276, allocations: 236.9 kB / 0.8661 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/1.276, allocations: 256.4 kB / 0.8664 GB, free: 74.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.276, allocations: 3.938 kB / 0.8664 GB, free: 74.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002564/1.279, allocations: 1.017 MB / 0.8674 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.279, allocations: 6.5 kB / 0.8674 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.279, allocations: 3.953 kB / 0.8674 GB, free: 73.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01715/1.296, allocations: 2.725 MB / 0.8701 GB, free: 70.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/1.296, allocations: 4 kB / 0.8701 GB, free: 70.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/1.299, allocations: 1.52 MB / 0.8715 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/1.3, allocations: 8 kB / 0.8716 GB, free: 68.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/1.3, allocations: 31.95 kB / 0.8716 GB, free: 68.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002514/1.3, allocations: 161.8 kB / 0.8717 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/1.3, allocations: 43.47 kB / 0.8718 GB, free: 68.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/1.302, allocations: 1.104 MB / 0.8729 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.302, allocations: 4 kB / 0.8729 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.302, allocations: 3.953 kB / 0.8729 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.302, allocations: 3.984 kB / 0.8729 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/1.303, allocations: 0.556 MB / 0.8734 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.303, allocations: 0 / 0.8734 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/1.303, allocations: 0 / 0.8734 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005251/1.308, allocations: 1.424 MB / 0.8748 GB, free: 65.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/1.308, allocations: 11.94 kB / 0.8748 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/1.31, allocations: 1.558 MB / 0.8763 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.31, allocations: 0 / 0.8763 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/1.312, allocations: 0.9957 MB / 0.8773 GB, free: 62.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/1.312, allocations: 180.5 kB / 0.8775 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.312, allocations: 8 kB / 0.8775 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/1.312, allocations: 8 kB / 0.8775 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/1.312, allocations: 23.95 kB / 0.8775 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/1.313, allocations: 16 kB / 0.8775 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000375/1.313, allocations: 335.1 kB / 0.8779 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/1.313, allocations: 4 kB / 0.8779 GB, free: 62.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001884/1.315, allocations: 0.6789 MB / 0.8785 GB, free: 61.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.004065/1.319, allocations: 2.666 MB / 0.8811 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002212/1.321, allocations: 0.7322 MB / 0.8818 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.321, allocations: 0 / 0.8818 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.322, allocations: 476.1 kB / 0.8823 GB, free: 57.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.324, allocations: 271.6 kB / 0.8826 GB, free: 57.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006879/1.33, allocations: 3.756 MB / 0.8862 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/1.331, allocations: 0.8239 MB / 0.887 GB, free: 52.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002999/1.331, allocations: 55.39 kB / 0.8871 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/1.331, allocations: 119.4 kB / 0.8872 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/1.331, allocations: 0 / 0.8872 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04794/1.379, allocations: 31.54 MB / 0.918 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/1.379, allocations: 211.2 kB / 0.9182 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/4.43, allocations: 0 / 0.9182 GB, free: 20.93 MB / 0.5105 GB (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_MeanRespiration.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1)