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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.004679/0.004679, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.001135/0.001135, allocations: 195.8 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9329/0.9329, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 71.88 kB / 0.595 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4514, allocations: 82.02 MB / 0.6751 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1667/0.6182, allocations: 161.4 MB / 0.8327 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.62, allocations: 0.9548 MB / 0.8337 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.6203, allocations: 7.938 kB / 0.8337 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.6208, allocations: 171 kB / 0.8338 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.6223, allocations: 0.6614 MB / 0.8345 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.6229, allocations: 214.8 kB / 0.8347 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.6234, allocations: 0.5226 MB / 0.8352 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.6237, allocations: 180.1 kB / 0.8354 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.6241, allocations: 239.1 kB / 0.8356 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.6243, allocations: 159.3 kB / 0.8358 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.6243, allocations: 16 kB / 0.8358 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007293/0.625, allocations: 0.5417 MB / 0.8363 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.6251, allocations: 83.73 kB / 0.8364 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.6253, allocations: 115.4 kB / 0.8365 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.6259, allocations: 0.4984 MB / 0.837 GB, free: 244 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6259, allocations: 3.938 kB / 0.837 GB, free: 240 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6259, allocations: 0 / 0.837 GB, free: 240 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.6259, allocations: 0 / 0.837 GB, free: 240 kB / 0.6544 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.00134/0.6273, allocations: 0.6112 MB / 0.8376 GB, free: 15.57 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.6273, allocations: 12.03 kB / 0.8376 GB, free: 15.56 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.53e-05/0.6274, allocations: 46.55 kB / 0.8376 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.6276, allocations: 59.77 kB / 0.8377 GB, free: 15.45 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.6281, allocations: 286.5 kB / 0.838 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.6281, allocations: 16.27 kB / 0.838 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.6281, allocations: 16 kB / 0.838 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.6286, allocations: 239.8 kB / 0.8382 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.6286, allocations: 0 / 0.8382 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.6286, allocations: 4 kB / 0.8382 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.6287, allocations: 15.92 kB / 0.8382 GB, free: 14.84 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005348/0.6292, allocations: 255.4 kB / 0.8385 GB, free: 14.59 MB / 0.67 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.001145/0.6303, allocations: 0.8324 MB / 0.8393 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.6306, allocations: 146.6 kB / 0.8394 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.6309, allocations: 112.8 kB / 0.8395 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.6311, allocations: 186.2 kB / 0.8397 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.6312, allocations: 42.44 kB / 0.8398 GB, free: 13.15 MB / 0.67 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.6312, allocations: 4 kB / 0.8398 GB, free: 13.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=14): time 0.0007774/0.6319, allocations: 300.9 kB / 0.8401 GB, free: 12.85 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.632, allocations: 51.41 kB / 0.8401 GB, free: 12.79 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.6322, allocations: 241 kB / 0.8403 GB, free: 12.54 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.6322, allocations: 33.7 kB / 0.8404 GB, free: 12.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.6323, allocations: 136.3 kB / 0.8405 GB, free: 12.37 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.6324, allocations: 51.56 kB / 0.8405 GB, free: 12.32 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.6324, allocations: 37.7 kB / 0.8406 GB, free: 12.27 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.6325, allocations: 334.8 kB / 0.8409 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.6327, allocations: 67.95 kB / 0.841 GB, free: 11.87 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.6329, allocations: 109.5 kB / 0.8411 GB, free: 11.76 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.6333, allocations: 162.5 kB / 0.8412 GB, free: 11.59 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6333, allocations: 0 / 0.8412 GB, free: 11.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004307/0.6337, allocations: 221.4 kB / 0.8414 GB, free: 11.37 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6337, allocations: 11.94 kB / 0.8414 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.6337, allocations: 0 / 0.8414 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.6338, allocations: 0 / 0.8414 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.6339, allocations: 35.91 kB / 0.8415 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.634, allocations: 3.938 kB / 0.8415 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.6341, allocations: 23.88 kB / 0.8415 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.6342, allocations: 8 kB / 0.8415 GB, free: 11.29 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.6343, allocations: 137.9 kB / 0.8416 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.6343, allocations: 31.8 kB / 0.8417 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.6344, allocations: 29.83 kB / 0.8417 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6344, allocations: 4.031 kB / 0.8417 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6344, allocations: 0 / 0.8417 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6344, allocations: 0 / 0.8417 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009479/0.6354, allocations: 0.6834 MB / 0.8424 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.6354, allocations: 0 / 0.8424 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.6355, allocations: 31.97 kB / 0.8424 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6356, allocations: 4 kB / 0.8424 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.6356, allocations: 4.219 kB / 0.8424 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.6356, allocations: 11.94 kB / 0.8424 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6356, allocations: 4 kB / 0.8424 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.6361, allocations: 353.2 kB / 0.8428 GB, free: 9.875 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.6362, allocations: 120.9 kB / 0.8429 GB, free: 9.738 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.6362, allocations: 0 / 0.8429 GB, free: 9.738 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.6364, allocations: 15.98 kB / 0.8429 GB, free: 9.723 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.6364, allocations: 15.92 kB / 0.8429 GB, free: 9.707 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.6365, allocations: 12 kB / 0.8429 GB, free: 9.695 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001344/0.6366, allocations: 172.5 kB / 0.8431 GB, free: 9.523 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6366, allocations: 4 kB / 0.8431 GB, free: 9.52 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003291/0.6369, allocations: 63.92 kB / 0.8432 GB, free: 9.457 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008988/0.6378, allocations: 0.9483 MB / 0.8441 GB, free: 8.469 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.6383, allocations: 171.8 kB / 0.8442 GB, free: 8.301 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6383, allocations: 0 / 0.8442 GB, free: 8.301 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.6385, allocations: 103.7 kB / 0.8443 GB, free: 8.199 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.6392, allocations: 121.7 kB / 0.8445 GB, free: 8.082 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.6419, allocations: 2.467 MB / 0.8469 GB, free: 5.488 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.6422, allocations: 0.7558 MB / 0.8476 GB, free: 4.703 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.6424, allocations: 61.91 kB / 0.8477 GB, free: 4.645 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.6425, allocations: 63.41 kB / 0.8477 GB, free: 4.582 MB / 0.67 GB Notification: Performance of SimCode: time 2.91e-07/0.6425, allocations: 0 / 0.8477 GB, free: 4.582 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.6658, allocations: 6.954 MB / 0.8545 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.859, allocations: 18.52 kB / 0.8545 GB, free: 13.81 MB / 0.6856 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)