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.001323/0.001323, allocations: 91.14 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.001465/0.001465, 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.689/1.689, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.354/1.354, allocations: 143.4 MB / 434.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003726, allocations: 12 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 83.41 MB / 0.5975 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6773/0.8937, allocations: 146.5 MB / 0.7406 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002568/0.8963, allocations: 0.9185 MB / 0.7415 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005298/0.8969, allocations: 7.281 kB / 0.7415 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007004/0.8976, allocations: 105 kB / 0.7416 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.8997, allocations: 466.6 kB / 0.742 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.9006, allocations: 186.8 kB / 0.7422 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.9017, allocations: 0.6252 MB / 0.7428 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.9022, allocations: 137.9 kB / 0.743 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.9028, allocations: 219.6 kB / 0.7432 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.9032, allocations: 155.2 kB / 0.7433 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/0.9032, allocations: 9.344 kB / 0.7433 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.9042, allocations: 290.2 kB / 0.7436 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.9044, allocations: 80.47 kB / 0.7437 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.9046, allocations: 67.77 kB / 0.7437 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.9052, allocations: 299 kB / 0.744 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.9052, allocations: 0.6562 kB / 0.744 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9052, allocations: 0 / 0.744 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.9053, allocations: 4 kB / 0.744 GB, free: 5.184 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.001763/0.907, allocations: 0.5519 MB / 0.7446 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.9071, allocations: 9.312 kB / 0.7446 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.9072, allocations: 58.23 kB / 0.7446 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.9075, allocations: 47.67 kB / 0.7447 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.908, allocations: 275.2 kB / 0.7449 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.9081, allocations: 15.19 kB / 0.745 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.9081, allocations: 19.5 kB / 0.745 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/0.9087, allocations: 244.4 kB / 0.7452 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.9087, allocations: 0 / 0.7452 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.9088, allocations: 5.375 kB / 0.7452 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.9088, allocations: 12.25 kB / 0.7452 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.9095, allocations: 259.7 kB / 0.7455 GB, free: 4.234 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.001588/0.9111, allocations: 0.8508 MB / 0.7463 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.9115, allocations: 149.4 kB / 0.7465 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.9117, allocations: 120.8 kB / 0.7466 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/0.9121, allocations: 186.2 kB / 0.7467 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.9121, allocations: 42.56 kB / 0.7468 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.9121, allocations: 0 / 0.7468 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0008884/0.913, allocations: 315.4 kB / 0.7471 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.9131, allocations: 55.41 kB / 0.7471 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.9134, allocations: 244.9 kB / 0.7474 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.9134, allocations: 29.7 kB / 0.7474 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.9135, allocations: 136.2 kB / 0.7475 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.9136, allocations: 43.36 kB / 0.7476 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.9136, allocations: 4 kB / 0.7476 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.9138, allocations: 334.8 kB / 0.7479 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.914, allocations: 79.88 kB / 0.748 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.9142, allocations: 103.1 kB / 0.7481 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.9144, allocations: 83.95 kB / 0.7482 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.9144, allocations: 0 / 0.7482 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004611/0.9149, allocations: 224.4 kB / 0.7484 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.9149, allocations: 9.375 kB / 0.7484 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.9149, allocations: 3.984 kB / 0.7484 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.915, allocations: 0 / 0.7484 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.9152, allocations: 36.73 kB / 0.7484 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9152, allocations: 0 / 0.7484 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.9154, allocations: 31.86 kB / 0.7484 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.9154, allocations: 7.984 kB / 0.7484 GB, free: 1.367 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.0001619/0.9156, allocations: 151.9 kB / 0.7486 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.9157, allocations: 19.81 kB / 0.7486 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.9158, allocations: 29.83 kB / 0.7486 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.9158, allocations: 4 kB / 0.7486 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9158, allocations: 0 / 0.7486 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9158, allocations: 0.5625 kB / 0.7486 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.9169, allocations: 0.6874 MB / 0.7493 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.9169, allocations: 0 / 0.7493 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.9171, allocations: 40.55 kB / 0.7494 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.9171, allocations: 3.984 kB / 0.7494 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.9172, allocations: 7.953 kB / 0.7494 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.9172, allocations: 4 kB / 0.7494 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9172, allocations: 0 / 0.7494 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.9177, allocations: 365.9 kB / 0.7497 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.9179, allocations: 120.8 kB / 0.7498 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.9179, allocations: 8 kB / 0.7498 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.9181, allocations: 16.89 kB / 0.7499 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.9182, allocations: 19.98 kB / 0.7499 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.9182, allocations: 11.11 kB / 0.7499 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001912/0.9184, allocations: 176.5 kB / 0.7501 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9184, allocations: 0 / 0.7501 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004123/0.9189, allocations: 55.98 kB / 0.7501 GB, free: 15.54 MB / 0.5762 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.001287/0.9202, allocations: 0.956 MB / 0.751 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005235/0.9207, allocations: 183.9 kB / 0.7512 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.9207, allocations: 4 kB / 0.7512 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.9209, allocations: 95.81 kB / 0.7513 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/0.9218, allocations: 125.6 kB / 0.7514 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.9244, allocations: 1.351 MB / 0.7528 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.9248, allocations: 0.7521 MB / 0.7535 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002754/0.9251, allocations: 57.91 kB / 0.7535 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.9252, allocations: 63.41 kB / 0.7536 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/0.9252, allocations: 0 / 0.7536 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.9477, allocations: 6.419 MB / 0.7599 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/0.948, allocations: 236.7 kB / 0.7601 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.998, allocations: 0 / 0.7601 GB, free: 5.441 MB / 0.5762 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: