Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 180.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009728, allocations: 97.48 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.943e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2894, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.268/1.557, allocations: 480.7 MB / 1.676 GB, free: 7.68 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.557, allocations: 94.69 kB / 1.676 GB, free: 7.629 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.384/4.941, allocations: 0.944 GB / 2.62 GB, free: 14.04 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.664e-06/4.941, allocations: 0 / 2.62 GB, free: 14.04 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003783/4.941, allocations: 135.8 kB / 2.62 GB, free: 13.9 MB / 1.151 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.01495/4.956, allocations: 4.662 MB / 2.624 GB, free: 9.176 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/4.956, allocations: 12.03 kB / 2.624 GB, free: 9.164 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/4.96, allocations: 0.5756 MB / 2.625 GB, free: 8.582 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/4.97, allocations: 4.043 MB / 2.629 GB, free: 4.469 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/4.971, allocations: 123.9 kB / 2.629 GB, free: 4.348 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/4.972, allocations: 243.8 kB / 2.629 GB, free: 4.109 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008211/4.98, allocations: 4.958 MB / 2.634 GB, free: 15.14 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/4.991, allocations: 5.403 MB / 2.639 GB, free: 9.453 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/4.991, allocations: 11.88 kB / 2.639 GB, free: 9.441 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004855/4.992, allocations: 16 kB / 2.639 GB, free: 9.426 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004825/4.992, allocations: 387 kB / 2.64 GB, free: 9.047 MB / 1.167 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.8282/5.82, allocations: 24.24 MB / 2.663 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007595/5.828, allocations: 4.277 MB / 2.668 GB, free: 137.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003809/5.832, allocations: 2.234 MB / 2.67 GB, free: 137.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02104/5.853, allocations: 12.36 MB / 2.682 GB, free: 131.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002769/5.856, allocations: 2.096 MB / 2.684 GB, free: 131.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003311/5.859, allocations: 0.5733 MB / 2.684 GB, free: 131.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 6.994e-06/5.859, allocations: 6.094 kB / 2.684 GB, free: 131.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.08274/5.942, allocations: 18.48 MB / 2.702 GB, free: 130.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/5.942, allocations: 112.6 kB / 2.703 GB, free: 130.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/5.947, allocations: 2.197 MB / 2.705 GB, free: 130.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001873/5.949, allocations: 31.23 kB / 2.705 GB, free: 130.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002749/5.952, allocations: 2.06 MB / 2.707 GB, free: 129.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002317/5.954, allocations: 1.116 MB / 2.708 GB, free: 128.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/5.954, allocations: 0 / 2.708 GB, free: 128.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004385/5.955, allocations: 471.6 kB / 2.708 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004381/5.959, allocations: 1.8 MB / 2.71 GB, free: 128.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006362/5.966, allocations: 2.823 MB / 2.713 GB, free: 127.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02728/5.993, allocations: 5.238 MB / 2.718 GB, free: 127.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.677e-05/5.993, allocations: 7.594 kB / 2.718 GB, free: 127.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03055/6.024, allocations: 7.984 MB / 2.726 GB, free: 127.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003081/6.027, allocations: 11.95 MB / 2.737 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/6.027, allocations: 28.62 kB / 2.737 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/6.027, allocations: 52.88 kB / 2.737 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03285/6.06, allocations: 4.211 MB / 2.742 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/6.071, allocations: 5.465 MB / 2.747 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00698/6.078, allocations: 304 kB / 2.747 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/6.08, allocations: 205.2 kB / 2.747 GB, free: 111.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/6.08, allocations: 5.625 kB / 2.747 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02071/6.1, allocations: 6.028 MB / 2.753 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.54e-05/6.1, allocations: 29.88 kB / 2.753 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.206e-05/6.101, allocations: 51.44 kB / 2.753 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006236/6.107, allocations: 1.38 MB / 2.755 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.979e-05/6.107, allocations: 67.83 kB / 2.755 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00557/6.112, allocations: 302.6 kB / 2.755 GB, free: 111.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/6.114, allocations: 200 kB / 2.755 GB, free: 111.1 MB / 1.167 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.001508/6.115, allocations: 215.1 kB / 2.755 GB, free: 111 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02832/6.143, allocations: 6.85 MB / 2.762 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/6.145, allocations: 369.7 kB / 2.763 GB, free: 110.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0289/6.174, allocations: 7.903 MB / 2.77 GB, free: 110.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-05/6.174, allocations: 44.78 kB / 2.77 GB, free: 110.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/6.174, allocations: 3.953 kB / 2.77 GB, free: 110.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02554/6.2, allocations: 6.884 MB / 2.777 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04221/6.242, allocations: 14.07 MB / 2.791 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/6.242, allocations: 9.531 kB / 2.791 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03036/6.272, allocations: 3.826 MB / 2.794 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.385e-05/6.272, allocations: 31.83 kB / 2.795 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008082/6.273, allocations: 63.62 kB / 2.795 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/6.283, allocations: 5.325 MB / 2.8 GB, free: 105.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-05/6.283, allocations: 17.94 kB / 2.8 GB, free: 105.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0308/6.314, allocations: 11.83 MB / 2.811 GB, free: 102.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003276/6.318, allocations: 0.9398 MB / 2.812 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/6.319, allocations: 32.11 kB / 2.812 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004387/6.323, allocations: 206.5 kB / 2.812 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008113/6.324, allocations: 274 kB / 2.813 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005131/6.325, allocations: 173.4 kB / 2.813 GB, free: 102.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002566/6.327, allocations: 1.587 MB / 2.814 GB, free: 102.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.327, allocations: 0 / 2.814 GB, free: 102.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01211/6.34, allocations: 2.393 MB / 2.817 GB, free: 102.4 MB / 1.167 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.03613/6.376, allocations: 17.24 MB / 2.834 GB, free: 96.13 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.05649/6.432, allocations: 11.45 MB / 2.845 GB, free: 96.04 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.858e-05/6.432, allocations: 5.031 kB / 2.845 GB, free: 96.04 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.04589/6.478, allocations: 6.618 MB / 2.851 GB, free: 96.03 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008482/6.487, allocations: 1.309 MB / 2.853 GB, free: 96.02 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/6.51, allocations: 10.11 MB / 2.862 GB, free: 93.59 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/6.512, allocations: 3.146 MB / 2.866 GB, free: 92.73 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008996/6.521, allocations: 2.766 MB / 2.868 GB, free: 92.51 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00294/6.524, allocations: 1.928 MB / 2.87 GB, free: 92.51 MB / 1.167 GB Notification: Performance of SimCode: time 7.62e-07/6.524, allocations: 3.656 kB / 2.87 GB, free: 92.51 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1759/6.7, allocations: 115.7 MB / 2.983 GB, free: 59.25 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/6.7, allocations: 195.6 kB / 2.983 GB, free: 59.06 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/13.46, allocations: 1.719 kB / 2.983 GB, free: 59.06 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat does not exist to compare? outputFormat=mat