Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",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.001975/0.001975, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8155/0.8155, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.0009544, allocations: 92.78 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.629e-05/5.649e-05, allocations: 7.125 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2107, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.535/1.745, allocations: 443.4 MB / 1.074 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.746, allocations: 89.31 kB / 1.074 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.868/5.614, allocations: 0.9501 GB / 2.024 GB, free: 8.301 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/5.614, allocations: 0 / 2.024 GB, free: 8.301 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006872/5.615, allocations: 137.4 kB / 2.024 GB, free: 8.172 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01963/5.634, allocations: 4.653 MB / 2.028 GB, free: 3.461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/5.634, allocations: 12.03 kB / 2.028 GB, free: 3.449 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002967/5.637, allocations: 0.5394 MB / 2.029 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004429/5.642, allocations: 0.5834 MB / 2.03 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/5.657, allocations: 4.043 MB / 2.034 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005052/5.657, allocations: 295.3 kB / 2.034 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002401/5.66, allocations: 399.7 kB / 2.034 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/5.678, allocations: 5.948 MB / 2.04 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002582/5.679, allocations: 15.92 kB / 2.04 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001793/5.68, allocations: 175.9 kB / 2.04 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006604/5.681, allocations: 379.1 kB / 2.041 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01317/5.694, allocations: 5.221 MB / 2.046 GB, free: 1.496 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.6244/6.319, allocations: 25.03 MB / 2.07 GB, free: 39.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008395/6.327, allocations: 4.425 MB / 2.074 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004143/6.331, allocations: 2.335 MB / 2.077 GB, free: 39.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02668/6.358, allocations: 12.54 MB / 2.089 GB, free: 33.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004926/6.363, allocations: 2.195 MB / 2.091 GB, free: 33.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004101/6.367, allocations: 0.6756 MB / 2.092 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=310): time 2.008e-05/6.367, allocations: 0 / 2.092 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=334): time 0.02885/6.396, allocations: 11.47 MB / 2.103 GB, free: 32.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/6.396, allocations: 111.3 kB / 2.103 GB, free: 32.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005812/6.402, allocations: 2.767 MB / 2.106 GB, free: 31.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000599/6.403, allocations: 94.52 kB / 2.106 GB, free: 31.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002081/6.405, allocations: 2.059 MB / 2.108 GB, free: 31.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/6.406, allocations: 1.158 MB / 2.109 GB, free: 30.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/6.406, allocations: 77.34 kB / 2.109 GB, free: 30.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002735/6.407, allocations: 472.6 kB / 2.109 GB, free: 30.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/6.41, allocations: 1.872 MB / 2.111 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003783/6.413, allocations: 2.916 MB / 2.114 GB, free: 29.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/6.417, allocations: 2.398 MB / 2.117 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.945e-05/6.417, allocations: 16.19 kB / 2.117 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009458/6.427, allocations: 5.437 MB / 2.122 GB, free: 28.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.005091/6.432, allocations: 12.19 MB / 2.134 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.354e-05/6.432, allocations: 27.56 kB / 2.134 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/6.432, allocations: 51.59 kB / 2.134 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03356/6.466, allocations: 4.216 MB / 2.138 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/6.469, allocations: 3.958 MB / 2.142 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006493/6.476, allocations: 388.7 kB / 2.142 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/6.477, allocations: 206.3 kB / 2.142 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/6.477, allocations: 3.688 kB / 2.142 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01223/6.489, allocations: 4.937 MB / 2.147 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/6.489, allocations: 27.41 kB / 2.147 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.732e-05/6.49, allocations: 51.22 kB / 2.147 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006541/6.496, allocations: 1.376 MB / 2.149 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001065/6.496, allocations: 68.09 kB / 2.149 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00582/6.502, allocations: 376.9 kB / 2.149 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/6.503, allocations: 204.9 kB / 2.149 GB, free: 28.53 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002182/6.505, allocations: 356.7 kB / 2.15 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/6.507, allocations: 399.4 kB / 2.15 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/6.517, allocations: 5.359 MB / 2.155 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-05/6.518, allocations: 43.56 kB / 2.155 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/6.518, allocations: 1.594 kB / 2.155 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005613/6.523, allocations: 4.212 MB / 2.159 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/6.542, allocations: 11.89 MB / 2.171 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/6.542, allocations: 15.34 kB / 2.171 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03071/6.573, allocations: 3.825 MB / 2.175 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.038e-05/6.573, allocations: 28.09 kB / 2.175 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008623/6.574, allocations: 112.7 kB / 2.175 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/6.576, allocations: 3.867 MB / 2.179 GB, free: 23.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.494e-05/6.576, allocations: 19.84 kB / 2.179 GB, free: 23.22 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/6.588, allocations: 9.332 MB / 2.188 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003091/6.591, allocations: 0.9907 MB / 2.189 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006672/6.592, allocations: 98.08 kB / 2.189 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/6.595, allocations: 273.2 kB / 2.189 GB, free: 20.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004283/6.595, allocations: 274.7 kB / 2.189 GB, free: 20.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003338/6.595, allocations: 167.3 kB / 2.189 GB, free: 20.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002841/6.598, allocations: 2.065 MB / 2.191 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/6.598, allocations: 3.688 kB / 2.192 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00881/6.607, allocations: 2.631 MB / 2.194 GB, free: 20.03 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0173/6.624, allocations: 14.72 MB / 2.208 GB, free: 29.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.06035/6.685, allocations: 11.8 MB / 2.22 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.914e-05/6.685, allocations: 9.094 kB / 2.22 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.04857/6.733, allocations: 6.713 MB / 2.227 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/6.744, allocations: 1.574 MB / 2.228 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03043/6.774, allocations: 10.53 MB / 2.238 GB, free: 26.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004467/6.779, allocations: 3.137 MB / 2.241 GB, free: 25.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01316/6.792, allocations: 2.963 MB / 2.244 GB, free: 25.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004325/6.796, allocations: 1.949 MB / 2.246 GB, free: 25.53 MB / 0.7448 GB Notification: Performance of SimCode: time 2.926e-06/6.796, allocations: 0 / 2.246 GB, free: 25.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7734/7.57, allocations: 133.9 MB / 2.377 GB, free: 89.38 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/7.57, allocations: 241.5 kB / 2.377 GB, free: 89.09 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.238/14.81, allocations: 0 / 2.377 GB, free: 89.09 MB / 0.7605 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)