Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.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.0009276/0.0009276, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001095/0.001095, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8839/0.8839, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6489/0.6489, allocations: 116 MB / 375.2 MB, free: 4.199 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Pump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Pump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.5533 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.805e-05, allocations: 6.281 kB / 0.5533 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump): time 0.4259/0.4259, allocations: 219.3 MB / 0.7675 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03804/0.4639, allocations: 42.19 MB / 0.8087 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004316/0.4682, allocations: 257.5 kB / 0.809 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006743/0.475, allocations: 2.358 MB / 0.8113 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02731/0.5023, allocations: 12.14 MB / 0.8231 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.5135, allocations: 4.95 MB / 0.828 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008893/0.5224, allocations: 6.856 MB / 0.8346 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.5239, allocations: 0.6198 MB / 0.8353 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02768/0.5516, allocations: 23.01 MB / 0.8577 GB, free: 8.566 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.5546, allocations: 1.6 MB / 0.8593 GB, free: 6.961 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008233/0.5554, allocations: 280 kB / 0.8595 GB, free: 6.688 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02265/0.5781, allocations: 13.42 MB / 0.8727 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.5792, allocations: 0.7423 MB / 0.8734 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002385/0.5816, allocations: 1.391 MB / 0.8747 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.03061/0.6122, allocations: 15.55 MB / 0.8899 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.6122, allocations: 0 / 0.8899 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6122, allocations: 3.938 kB / 0.8899 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001796/0.6124, allocations: 0 / 0.8899 GB, free: 7.512 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.01243/0.6248, allocations: 6.402 MB / 0.8962 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.6248, allocations: 8.031 kB / 0.8962 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004038/0.6253, allocations: 434.7 kB / 0.8966 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/0.6285, allocations: 1.07 MB / 0.8976 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004439/0.633, allocations: 2.615 MB / 0.9002 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004455/0.6334, allocations: 0.8742 MB / 0.9011 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003692/0.6338, allocations: 319.9 kB / 0.9014 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005385/0.6392, allocations: 3.974 MB / 0.9052 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/0.6392, allocations: 7.938 kB / 0.9052 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.6394, allocations: 136 kB / 0.9054 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.6394, allocations: 76 kB / 0.9055 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004478/0.6439, allocations: 2.779 MB / 0.9082 GB, free: 4.262 MB / 0.7448 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.01172/0.6556, allocations: 10.69 MB / 0.9186 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/0.6597, allocations: 2.655 MB / 0.9212 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.6607, allocations: 0.7607 MB / 0.9219 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3374/0.9981, allocations: 35.03 MB / 0.9561 GB, free: 300.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/0.9982, allocations: 54.69 kB / 0.9562 GB, free: 300.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=190): time 4.158e-06/0.9982, allocations: 1.375 kB / 0.9562 GB, free: 300.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=219): time 0.01396/1.012, allocations: 7.08 MB / 0.9631 GB, free: 298.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.012, allocations: 75.44 kB / 0.9632 GB, free: 298.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/1.016, allocations: 2.904 MB / 0.966 GB, free: 297.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/1.016, allocations: 61.95 kB / 0.9661 GB, free: 297.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009588/1.017, allocations: 1.709 MB / 0.9677 GB, free: 296.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005719/1.017, allocations: 0.7612 MB / 0.9685 GB, free: 295.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004152/1.018, allocations: 407.1 kB / 0.9689 GB, free: 295.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 3.713e-05/1.018, allocations: 301.1 kB / 0.9692 GB, free: 295.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009659/1.019, allocations: 0.6463 MB / 0.9698 GB, free: 295.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/1.02, allocations: 1.084 MB / 0.9709 GB, free: 294.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/1.022, allocations: 1.846 MB / 0.9727 GB, free: 293.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.022, allocations: 3.938 kB / 0.9727 GB, free: 293.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.003422/1.026, allocations: 2.413 MB / 0.975 GB, free: 292.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/1.026, allocations: 7.75 kB / 0.975 GB, free: 292.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.026, allocations: 11.88 kB / 0.975 GB, free: 292.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/1.026, allocations: 185.8 kB / 0.9752 GB, free: 292.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.027, allocations: 0.5686 MB / 0.9758 GB, free: 292.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/1.029, allocations: 2.473 MB / 0.9782 GB, free: 289.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/1.03, allocations: 106.8 kB / 0.9783 GB, free: 289.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.03, allocations: 97.91 kB / 0.9784 GB, free: 289.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 24 (source9.outlet.state.phase,source4.outlet.state.phase,source3.outlet.state.phase,source.outlet.state.phase,source11.outlet.state.phase,source10.outlet.state.phase,source8.outlet.state.phase,source7.outlet.state.phase,source2.outlet.state.phase,source6.outlet.state.phase,source5.outlet.state.phase,source1.outlet.state.phase,isothermalReference3.outlet.state.phase,incompressibleFluid3.outlet.state.phase,fullMedium3.outlet.state.phase,isothermalReference2.outlet.state.phase,isothermalReference1.outlet.state.phase,isothermalReference.outlet.state.phase,incompressibleFluid2.outlet.state.phase,incompressibleFluid1.outlet.state.phase,fullMedium2.outlet.state.phase,fullMedium1.outlet.state.phase,incompressibleFluid.outlet.state.phase,fullMedium.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (267): * Single equations (assignments): 264 * 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,2), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001018/1.031, allocations: 0.5373 MB / 0.9789 GB, free: 289.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/1.032, allocations: 419.8 kB / 0.9793 GB, free: 289.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005311/1.037, allocations: 7.42 MB / 0.9865 GB, free: 285.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/1.037, allocations: 79.89 kB / 0.9866 GB, free: 285.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.037, allocations: 0 / 0.9866 GB, free: 285.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.037, allocations: 23.83 kB / 0.9866 GB, free: 285.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009171/1.046, allocations: 10.38 MB / 0.9968 GB, free: 274.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.046, allocations: 0 / 0.9968 GB, free: 274.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009447/1.047, allocations: 478.7 kB / 0.9972 GB, free: 274.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005382/1.048, allocations: 323.5 kB / 0.9975 GB, free: 273.9 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/1.048, allocations: 55.92 kB / 0.9976 GB, free: 273.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/1.049, allocations: 2.667 MB / 1 GB, free: 271.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.049, allocations: 0 / 1 GB, free: 271.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/1.055, allocations: 5.957 MB / 1.006 GB, free: 265 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.056, allocations: 0.6438 MB / 1.007 GB, free: 264.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004028/1.056, allocations: 114.2 kB / 1.007 GB, free: 264.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008113/1.057, allocations: 103.9 kB / 1.007 GB, free: 264.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.057, allocations: 165.7 kB / 1.007 GB, free: 264 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/1.057, allocations: 78.53 kB / 1.007 GB, free: 263.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001983/1.059, allocations: 2.544 MB / 1.01 GB, free: 261.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/1.059, allocations: 0 / 1.01 GB, free: 261.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005538/1.065, allocations: 2.377 MB / 1.012 GB, free: 259.3 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (fullMedium1.dp,incompressibleFluid1.dp,isothermalReference1.dp) * Number of discrete variables: 40 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse39.phase,$cse39.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (239): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01249/1.077, allocations: 9.112 MB / 1.021 GB, free: 250.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003472/1.081, allocations: 2.549 MB / 1.023 GB, free: 247.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.081, allocations: 0 / 1.023 GB, free: 247.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.083, allocations: 1.678 MB / 1.025 GB, free: 246.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005004/1.088, allocations: 1.86 MB / 1.027 GB, free: 244.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/1.119, allocations: 27.87 MB / 1.054 GB, free: 215.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.12, allocations: 1.991 MB / 1.056 GB, free: 213.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002143/1.123, allocations: 1.075 MB / 1.057 GB, free: 212.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.124, allocations: 2.172 MB / 1.059 GB, free: 210.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.362e-06/1.124, allocations: 0 / 1.059 GB, free: 210.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/1.279, allocations: 167 MB / 1.222 GB, free: 44.53 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/16.46, allocations: 11.95 kB / 1.222 GB, free: 44.52 MB / 0.7761 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Pump_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Pump.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 19.224619711749256] Failed to read output from testmodel.py, exit status != 0: 16.633611840195954 16.639163708 16.025467958 Calling exit ...