Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json 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/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002889/0.002889, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.651/2.651, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.303/5.303, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006859/0.0006864, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503/1.504, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2938/1.797, allocations: 135.5 MB / 1.113 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003397/1.801, allocations: 0.9722 MB / 1.114 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000615/1.802, allocations: 7.938 kB / 1.114 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/1.803, allocations: 183.2 kB / 1.114 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002593/1.806, allocations: 418.8 kB / 1.115 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/1.807, allocations: 257.2 kB / 1.115 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008855/1.808, allocations: 324.2 kB / 1.115 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/1.808, allocations: 152.1 kB / 1.115 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/1.81, allocations: 247.2 kB / 1.116 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/1.81, allocations: 115.5 kB / 1.116 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/1.81, allocations: 8 kB / 1.116 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/1.811, allocations: 243.6 kB / 1.116 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/1.811, allocations: 71.8 kB / 1.116 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/1.811, allocations: 69.56 kB / 1.116 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006571/1.812, allocations: 263.4 kB / 1.116 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.812, allocations: 0 / 1.116 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.016e-06/1.812, allocations: 0 / 1.116 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.329e-05/1.812, allocations: 0 / 1.116 GB, free: 11.17 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002262/1.814, allocations: 0.5494 MB / 1.117 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.477e-05/1.814, allocations: 8.031 kB / 1.117 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/1.815, allocations: 54.48 kB / 1.117 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004224/1.815, allocations: 47.69 kB / 1.117 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/1.816, allocations: 266.5 kB / 1.117 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/1.816, allocations: 12.33 kB / 1.117 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/1.816, allocations: 16 kB / 1.117 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/1.817, allocations: 251.1 kB / 1.118 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/1.817, allocations: 3.984 kB / 1.118 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/1.817, allocations: 11.95 kB / 1.118 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/1.817, allocations: 8 kB / 1.118 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009486/1.818, allocations: 263.6 kB / 1.118 GB, free: 9.598 MB / 0.8731 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.001874/1.819, allocations: 0.7731 MB / 1.119 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/1.82, allocations: 154.4 kB / 1.119 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.822e-05/1.82, allocations: 8 kB / 1.119 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/1.82, allocations: 34.5 kB / 1.119 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 3.136e-06/1.82, allocations: 0 / 1.119 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.001414/1.822, allocations: 320.3 kB / 1.119 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/1.822, allocations: 55.41 kB / 1.119 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/1.822, allocations: 237 kB / 1.119 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/1.822, allocations: 25.7 kB / 1.119 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/1.822, allocations: 140.2 kB / 1.119 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/1.822, allocations: 51.28 kB / 1.12 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/1.822, allocations: 4 kB / 1.12 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002558/1.823, allocations: 334.8 kB / 1.12 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/1.823, allocations: 71.94 kB / 1.12 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/1.823, allocations: 111.9 kB / 1.12 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/1.824, allocations: 79.95 kB / 1.12 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/1.824, allocations: 0 / 1.12 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007664/1.824, allocations: 229.2 kB / 1.12 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/1.825, allocations: 4 kB / 1.12 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.825, allocations: 8 kB / 1.12 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/1.825, allocations: 3.938 kB / 1.12 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/1.825, allocations: 35.91 kB / 1.12 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/1.825, allocations: 4 kB / 1.12 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/1.825, allocations: 31.89 kB / 1.12 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/1.825, allocations: 4 kB / 1.12 GB, free: 6.766 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002701/1.826, allocations: 141.8 kB / 1.121 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/1.826, allocations: 23.67 kB / 1.121 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/1.826, allocations: 33.83 kB / 1.121 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.826, allocations: 0 / 1.121 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.826, allocations: 4 kB / 1.121 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.826, allocations: 8.031 kB / 1.121 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/1.828, allocations: 0.6796 MB / 1.121 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.828, allocations: 7.984 kB / 1.121 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/1.828, allocations: 31.92 kB / 1.121 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/1.828, allocations: 4 kB / 1.121 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/1.828, allocations: 12.22 kB / 1.121 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/1.828, allocations: 3.984 kB / 1.121 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.828, allocations: 4 kB / 1.121 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009137/1.829, allocations: 449 kB / 1.122 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/1.829, allocations: 108.8 kB / 1.122 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.853e-05/1.829, allocations: 8 kB / 1.122 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/1.83, allocations: 15.92 kB / 1.122 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.83, allocations: 27.88 kB / 1.122 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/1.83, allocations: 4 kB / 1.122 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002877/1.83, allocations: 180.5 kB / 1.122 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/1.83, allocations: 0 / 1.122 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006612/1.831, allocations: 52 kB / 1.122 GB, free: 4.805 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00234/1.833, allocations: 1.51 MB / 1.124 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008362/1.834, allocations: 183.8 kB / 1.124 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.834, allocations: 0 / 1.124 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/1.834, allocations: 111.9 kB / 1.124 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/1.836, allocations: 117.5 kB / 1.124 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/1.839, allocations: 1.646 MB / 1.126 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/1.84, allocations: 0.7638 MB / 1.126 GB, free: 316 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004376/1.841, allocations: 65.89 kB / 1.126 GB, free: 252 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/1.841, allocations: 59.42 kB / 1.126 GB, free: 192 kB / 0.8731 GB Notification: Performance of SimCode: time 1.092e-06/1.841, allocations: 0 / 1.126 GB, free: 192 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/1.878, allocations: 6.368 MB / 1.133 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00039/1.879, allocations: 233.8 kB / 1.133 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/5.146, allocations: 0 / 1.133 GB, free: 9.793 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat does not exist to compare? outputFormat=mat