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.001291/0.001291, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.461/1.461, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 86.72 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.5794/0.5794, allocations: 37.07 MB / 373.6 MB, free: 45.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.504e-05/4.52e-05, allocations: 11.88 kB / 441.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1502, allocations: 60.09 MB / 0.4899 GB, free: 3.184 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9894/1.14, allocations: 207 MB / 0.6921 GB, free: 146.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.14, allocations: 70.77 kB / 0.6922 GB, free: 146.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3365/1.477, allocations: 160.5 MB / 0.8488 GB, free: 6.254 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.557e-06/1.477, allocations: 4 kB / 0.8489 GB, free: 6.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.182e-05/1.477, allocations: 4 kB / 0.8489 GB, free: 6.246 MB / 490.7 MB 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.003134/1.48, allocations: 0.9655 MB / 0.8498 GB, free: 5.234 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.48, allocations: 12.03 kB / 0.8498 GB, free: 5.223 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/1.48, allocations: 62.53 kB / 0.8499 GB, free: 5.152 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/1.48, allocations: 43.44 kB / 0.8499 GB, free: 5.109 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/1.482, allocations: 0.5737 MB / 0.8505 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/1.482, allocations: 20.52 kB / 0.8505 GB, free: 4.477 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.441e-05/1.482, allocations: 27.94 kB / 0.8505 GB, free: 4.449 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/1.483, allocations: 0.6838 MB / 0.8512 GB, free: 3.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.483, allocations: 0 / 0.8512 GB, free: 3.758 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/1.483, allocations: 8 kB / 0.8512 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.483, allocations: 8 kB / 0.8512 GB, free: 3.742 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/1.484, allocations: 0.9548 MB / 0.8521 GB, free: 2.789 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/1.487, allocations: 1.538 MB / 0.8536 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/1.487, allocations: 354.6 kB / 0.854 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/1.488, allocations: 316.8 kB / 0.8543 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/1.488, allocations: 133 kB / 0.8544 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/1.488, allocations: 40.62 kB / 0.8544 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001296/1.489, allocations: 275.5 kB / 0.8547 GB, free: 48 kB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 4.459e-06/1.489, allocations: 0 / 0.8547 GB, free: 48 kB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.3419/1.831, allocations: 0.9009 MB / 0.8556 GB, free: 82.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/1.831, allocations: 54.62 kB / 0.8556 GB, free: 82.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007163/1.832, allocations: 418.1 kB / 0.856 GB, free: 81.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/1.832, allocations: 31.27 kB / 0.8561 GB, free: 81.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.832, allocations: 172.2 kB / 0.8562 GB, free: 81.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/1.832, allocations: 101.5 kB / 0.8563 GB, free: 81.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/1.832, allocations: 5.281 kB / 0.8563 GB, free: 81.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/1.833, allocations: 357.1 kB / 0.8567 GB, free: 81.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/1.833, allocations: 225.5 kB / 0.8569 GB, free: 81.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/1.834, allocations: 223.1 kB / 0.8571 GB, free: 81.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/1.834, allocations: 254.1 kB / 0.8573 GB, free: 81.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.834, allocations: 0 / 0.8573 GB, free: 81.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002796/1.837, allocations: 1.009 MB / 0.8583 GB, free: 81.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.837, allocations: 5.531 kB / 0.8583 GB, free: 81.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.837, allocations: 0 / 0.8583 GB, free: 81.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08319/1.92, allocations: 10.96 MB / 0.869 GB, free: 81.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/1.92, allocations: 5.969 kB / 0.869 GB, free: 81.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/1.923, allocations: 1.508 MB / 0.8705 GB, free: 80.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/1.924, allocations: 10.66 kB / 0.8705 GB, free: 80.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/1.924, allocations: 32.48 kB / 0.8706 GB, free: 80.79 MB / 490.7 MB 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 () * 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.0001188/1.924, allocations: 111.5 kB / 0.8707 GB, free: 80.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/1.924, allocations: 39.78 kB / 0.8707 GB, free: 80.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/1.926, allocations: 1.122 MB / 0.8718 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.926, allocations: 5.781 kB / 0.8718 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.926, allocations: 3.094 kB / 0.8718 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.926, allocations: 4.125 kB / 0.8718 GB, free: 80.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/1.929, allocations: 1.769 MB / 0.8735 GB, free: 80.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.929, allocations: 0.5625 kB / 0.8735 GB, free: 80.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/1.929, allocations: 5.875 kB / 0.8735 GB, free: 80.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005057/1.934, allocations: 1.41 MB / 0.8749 GB, free: 80.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/1.934, allocations: 12.83 kB / 0.8749 GB, free: 80.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/1.936, allocations: 1.542 MB / 0.8764 GB, free: 79.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.936, allocations: 5.484 kB / 0.8764 GB, free: 79.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/1.937, allocations: 0.9756 MB / 0.8774 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/1.937, allocations: 176.7 kB / 0.8776 GB, free: 79.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-05/1.937, allocations: 6.438 kB / 0.8776 GB, free: 79.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/1.938, allocations: 20.25 kB / 0.8776 GB, free: 79.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/1.938, allocations: 21.97 kB / 0.8776 GB, free: 79.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/1.938, allocations: 12 kB / 0.8776 GB, free: 79.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003686/1.938, allocations: 335.7 kB / 0.8779 GB, free: 79.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.938, allocations: 0 / 0.8779 GB, free: 79.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002098/1.94, allocations: 0.6733 MB / 0.8786 GB, free: 79.32 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.003993/1.944, allocations: 2.645 MB / 0.8812 GB, free: 78.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/1.946, allocations: 0.7312 MB / 0.8819 GB, free: 78.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.946, allocations: 0 / 0.8819 GB, free: 78.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/1.947, allocations: 452.6 kB / 0.8823 GB, free: 78.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/1.949, allocations: 271.8 kB / 0.8826 GB, free: 78.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/1.951, allocations: 1.012 MB / 0.8836 GB, free: 78.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/1.951, allocations: 0.8206 MB / 0.8844 GB, free: 77.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/1.952, allocations: 59.42 kB / 0.8844 GB, free: 77.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.952, allocations: 125.2 kB / 0.8845 GB, free: 77.67 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/1.952, allocations: 2.297 kB / 0.8846 GB, free: 77.67 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06036/2.012, allocations: 31.96 MB / 0.9158 GB, free: 76.07 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/2.012, allocations: 175 kB / 0.9159 GB, free: 75.85 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/4.989, allocations: 0 / 0.9159 GB, free: 75.85 MB / 490.7 MB (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)