Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001135/0.001135, allocations: 99.55 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.001013/0.001013, 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 1.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.073/1.073, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003539, allocations: 16 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2052, allocations: 83.4 MB / 0.5973 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.495/0.7002, allocations: 135.5 MB / 0.7296 GB, free: 364 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.7024, allocations: 0.9808 MB / 0.7306 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.7027, allocations: 6.781 kB / 0.7306 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006904/0.7034, allocations: 171.4 kB / 0.7308 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.7047, allocations: 422.6 kB / 0.7312 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.7055, allocations: 261.1 kB / 0.7314 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.706, allocations: 315.2 kB / 0.7317 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.7064, allocations: 155.9 kB / 0.7319 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006287/0.707, allocations: 254.8 kB / 0.7321 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.7072, allocations: 107.3 kB / 0.7322 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.7072, allocations: 15.03 kB / 0.7322 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.7078, allocations: 241.5 kB / 0.7325 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.831e-05/0.7079, allocations: 72.22 kB / 0.7325 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.708, allocations: 64.83 kB / 0.7326 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.7084, allocations: 271.1 kB / 0.7329 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.7084, allocations: 0 / 0.7329 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7084, allocations: 0 / 0.7329 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.7084, allocations: 0 / 0.7329 GB, free: 14.62 MB / 0.5606 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.001357/0.7098, allocations: 0.5535 MB / 0.7334 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7098, allocations: 9.531 kB / 0.7334 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.19e-05/0.7099, allocations: 52.34 kB / 0.7335 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.7102, allocations: 50.17 kB / 0.7335 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.7106, allocations: 277 kB / 0.7338 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.7106, allocations: 12.14 kB / 0.7338 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.7106, allocations: 17.42 kB / 0.7338 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.7112, allocations: 245.7 kB / 0.734 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7112, allocations: 0 / 0.734 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.7113, allocations: 5.469 kB / 0.734 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.7113, allocations: 12.61 kB / 0.734 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.7119, allocations: 261.8 kB / 0.7343 GB, free: 13.66 MB / 0.5606 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.001235/0.7132, allocations: 0.778 MB / 0.7351 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.7135, allocations: 151.3 kB / 0.7352 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.7136, allocations: 5.438 kB / 0.7352 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.7136, allocations: 39.94 kB / 0.7352 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 3.106e-06/0.7136, allocations: 3.984 kB / 0.7352 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0009416/0.7146, allocations: 313.9 kB / 0.7355 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.7146, allocations: 52.88 kB / 0.7356 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.7149, allocations: 238.1 kB / 0.7358 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.715, allocations: 31.78 kB / 0.7359 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.7151, allocations: 138 kB / 0.736 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.7151, allocations: 54.02 kB / 0.736 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.7152, allocations: 0 / 0.736 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.7153, allocations: 339.1 kB / 0.7364 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.7155, allocations: 73.94 kB / 0.7364 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.7158, allocations: 108.3 kB / 0.7365 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.716, allocations: 85.8 kB / 0.7366 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.716, allocations: 0 / 0.7366 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000483/0.7165, allocations: 224.5 kB / 0.7368 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7165, allocations: 4 kB / 0.7368 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.7165, allocations: 4.797 kB / 0.7368 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7165, allocations: 0.5625 kB / 0.7368 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.7167, allocations: 37.7 kB / 0.7369 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.7168, allocations: 8.641 kB / 0.7369 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.717, allocations: 27.72 kB / 0.7369 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.717, allocations: 9.453 kB / 0.7369 GB, free: 11.74 MB / 0.5606 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.0001525/0.7172, allocations: 143.7 kB / 0.7371 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.7172, allocations: 16.61 kB / 0.7371 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.479e-05/0.7173, allocations: 32.56 kB / 0.7371 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.7173, allocations: 0.6094 kB / 0.7371 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.7173, allocations: 0.5 kB / 0.7371 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.7173, allocations: 0.75 kB / 0.7371 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.7185, allocations: 0.6955 MB / 0.7378 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7185, allocations: 5.375 kB / 0.7378 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.7187, allocations: 31.55 kB / 0.7378 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.7187, allocations: 4 kB / 0.7378 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.7187, allocations: 4.656 kB / 0.7378 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7187, allocations: 4.609 kB / 0.7378 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.7188, allocations: 12.86 kB / 0.7378 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.7194, allocations: 443 kB / 0.7383 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.7195, allocations: 110 kB / 0.7384 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.7196, allocations: 8.75 kB / 0.7384 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.7198, allocations: 19.5 kB / 0.7384 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.7198, allocations: 16.44 kB / 0.7384 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.7198, allocations: 8.844 kB / 0.7384 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001732/0.72, allocations: 175.6 kB / 0.7386 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.72, allocations: 0.5625 kB / 0.7386 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003964/0.7204, allocations: 64.59 kB / 0.7387 GB, free: 9.965 MB / 0.5606 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.001307/0.7217, allocations: 1.514 MB / 0.7401 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.7222, allocations: 179.8 kB / 0.7403 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7222, allocations: 4 kB / 0.7403 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.7225, allocations: 105.3 kB / 0.7404 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.7232, allocations: 113 kB / 0.7405 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.7256, allocations: 1.647 MB / 0.7421 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.726, allocations: 0.7531 MB / 0.7429 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002696/0.7263, allocations: 66.66 kB / 0.7429 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.7265, allocations: 65.86 kB / 0.743 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.7265, allocations: 0 / 0.743 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.7455, allocations: 6.394 MB / 0.7492 GB, free: 464 kB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.7457, allocations: 230.3 kB / 0.7495 GB, free: 224 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.624, allocations: 3.75 kB / 0.7495 GB, free: 224 kB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) Environment - environmentSimulation: