Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",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.0008886/0.0008924, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008511/0.0008511, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.516/2.516, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003502, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6966/0.6969, allocations: 146.8 MB / 0.9811 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.03341/0.7304, allocations: 30.85 MB / 1.011 GB, free: 7.285 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.7427, allocations: 9.184 MB / 1.02 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.7439, allocations: 23.81 kB / 1.02 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.7451, allocations: 282.2 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.7489, allocations: 1.135 MB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.7515, allocations: 0.7103 MB / 1.022 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003276/0.7548, allocations: 2.298 MB / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.7558, allocations: 486.5 kB / 1.025 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.7579, allocations: 0.7815 MB / 1.026 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.7591, allocations: 0.5796 MB / 1.026 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.7592, allocations: 32 kB / 1.026 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002439/0.7617, allocations: 1.025 MB / 1.027 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.7619, allocations: 127.4 kB / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003707/0.7623, allocations: 185.3 kB / 1.028 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.7642, allocations: 1.126 MB / 1.029 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.7642, allocations: 0 / 1.029 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7642, allocations: 4 kB / 1.029 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.905e-05/0.7642, allocations: 0 / 1.029 GB, free: 5.266 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002515/0.7668, allocations: 1.107 MB / 1.03 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.7668, allocations: 12.03 kB / 1.03 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001921/0.767, allocations: 78.53 kB / 1.03 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.7673, allocations: 94.95 kB / 1.03 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.7685, allocations: 0.6251 MB / 1.031 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.7686, allocations: 37 kB / 1.031 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.56e-05/0.7687, allocations: 51.98 kB / 1.031 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008518/0.7695, allocations: 434.3 kB / 1.031 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.7695, allocations: 4 kB / 1.031 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.7696, allocations: 16 kB / 1.031 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.7696, allocations: 16 kB / 1.031 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/0.7704, allocations: 371.8 kB / 1.032 GB, free: 2.336 MB / 0.7794 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.004188/0.7746, allocations: 2.791 MB / 1.034 GB, free: 15.26 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008237/0.7754, allocations: 381 kB / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.7757, allocations: 153.1 kB / 1.035 GB, free: 14.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.777, allocations: 1.44 MB / 1.036 GB, free: 12.97 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.777, allocations: 38.84 kB / 1.036 GB, free: 12.93 MB / 0.795 GB Notification: Performance of pre-optimization done (n=35): time 2.444e-06/0.777, allocations: 0 / 1.036 GB, free: 12.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=35): time 0.001181/0.7782, allocations: 0.5059 MB / 1.037 GB, free: 12.41 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.7783, allocations: 51.41 kB / 1.037 GB, free: 12.35 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.7794, allocations: 0.739 MB / 1.038 GB, free: 11.6 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.7795, allocations: 37.7 kB / 1.038 GB, free: 11.56 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.7798, allocations: 336.2 kB / 1.038 GB, free: 11.23 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.78, allocations: 126.2 kB / 1.038 GB, free: 11.1 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.78, allocations: 8 kB / 1.038 GB, free: 11.09 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7801, allocations: 322 kB / 1.038 GB, free: 10.77 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.7804, allocations: 132.7 kB / 1.038 GB, free: 10.64 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.7808, allocations: 201.6 kB / 1.039 GB, free: 10.43 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.7812, allocations: 160.1 kB / 1.039 GB, free: 10.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7812, allocations: 0 / 1.039 GB, free: 10.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009302/0.7821, allocations: 473.8 kB / 1.039 GB, free: 9.805 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.735e-05/0.7822, allocations: 130.6 kB / 1.039 GB, free: 9.656 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.7823, allocations: 11.98 kB / 1.039 GB, free: 9.645 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.7823, allocations: 4 kB / 1.039 GB, free: 9.641 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.7828, allocations: 111.7 kB / 1.039 GB, free: 9.531 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004247/0.7832, allocations: 0.59 MB / 1.04 GB, free: 8.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.7838, allocations: 75.5 kB / 1.04 GB, free: 8.844 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.7839, allocations: 15.98 kB / 1.04 GB, free: 8.828 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.7839, allocations: 4 kB / 1.04 GB, free: 8.824 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000739/0.7846, allocations: 375.8 kB / 1.04 GB, free: 8.457 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.7846, allocations: 4 kB / 1.04 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.7847, allocations: 7.953 kB / 1.04 GB, free: 8.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.785, allocations: 95.81 kB / 1.041 GB, free: 8.352 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.785, allocations: 160 / 1.041 GB, free: 8.352 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.7855, allocations: 71.5 kB / 1.041 GB, free: 8.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.7855, allocations: 23.98 kB / 1.041 GB, free: 8.258 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003021/0.7858, allocations: 265 kB / 1.041 GB, free: 7.988 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.786, allocations: 79.06 kB / 1.041 GB, free: 7.91 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.7875, allocations: 0.815 MB / 1.042 GB, free: 7.113 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.7875, allocations: 19.94 kB / 1.042 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7875, allocations: 0 / 1.042 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.7876, allocations: 0 / 1.042 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.7898, allocations: 1.466 MB / 1.043 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.7898, allocations: 7.953 kB / 1.043 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.7902, allocations: 87.88 kB / 1.043 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.7902, allocations: 8.078 kB / 1.043 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.7903, allocations: 16 kB / 1.043 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003079/0.7906, allocations: 0.5899 MB / 1.044 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7906, allocations: 3.984 kB / 1.044 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.792, allocations: 0.9964 MB / 1.045 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.7924, allocations: 255.8 kB / 1.045 GB, free: 3.535 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.922e-05/0.7925, allocations: 8 kB / 1.045 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.7929, allocations: 27.98 kB / 1.045 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.793, allocations: 44.31 kB / 1.045 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.793, allocations: 27.98 kB / 1.045 GB, free: 3.43 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007276/0.7938, allocations: 0.5146 MB / 1.046 GB, free: 2.918 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7938, allocations: 3.938 kB / 1.046 GB, free: 2.914 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001194/0.795, allocations: 459.4 kB / 1.046 GB, free: 2.465 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * 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 (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002554/0.7975, allocations: 1.904 MB / 1.048 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.7992, allocations: 0.7491 MB / 1.049 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7992, allocations: 0 / 1.049 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006268/0.7998, allocations: 354.6 kB / 1.049 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.8019, allocations: 371.5 kB / 1.049 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007935/0.8099, allocations: 4.527 MB / 1.054 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.8104, allocations: 0.9392 MB / 1.055 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007953/0.8112, allocations: 214.1 kB / 1.055 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/0.8117, allocations: 311.2 kB / 1.055 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of SimCode: time 7.72e-07/0.8117, allocations: 0 / 1.055 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04812/0.8598, allocations: 26.59 MB / 1.081 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.8601, allocations: 295.5 kB / 1.082 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.434, allocations: 0 / 1.082 GB, free: 14.54 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore_res.mat does not exist to compare? outputFormat=mat