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.005135/0.005135, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001159/0.001159, allocations: 194.7 kB / 16.68 MB, free: 5.953 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.8646/0.8646, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 61.11 kB / 0.595 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1693, allocations: 82.04 MB / 0.6751 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5139/0.6833, allocations: 161.4 MB / 0.8327 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.6852, allocations: 0.9577 MB / 0.8337 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.6855, allocations: 10 kB / 0.8337 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.6861, allocations: 163.8 kB / 0.8338 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.6877, allocations: 0.6638 MB / 0.8345 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.6884, allocations: 220.4 kB / 0.8347 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006937/0.6891, allocations: 0.5216 MB / 0.8352 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.6894, allocations: 170.7 kB / 0.8354 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.6899, allocations: 239.5 kB / 0.8356 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.6902, allocations: 159 kB / 0.8357 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.6902, allocations: 15.56 kB / 0.8358 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008811/0.6911, allocations: 0.5525 MB / 0.8363 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.6912, allocations: 75.64 kB / 0.8364 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.6914, allocations: 114 kB / 0.8365 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.6922, allocations: 0.4968 MB / 0.837 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6922, allocations: 0 / 0.837 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6922, allocations: 0 / 0.837 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.6922, allocations: 0 / 0.837 GB, free: 4.555 MB / 0.6075 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.001402/0.6936, allocations: 0.6021 MB / 0.8376 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6937, allocations: 13.92 kB / 0.8376 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.6937, allocations: 51.83 kB / 0.8376 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.694, allocations: 48.8 kB / 0.8377 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.6944, allocations: 283.8 kB / 0.8379 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.6945, allocations: 15.83 kB / 0.8379 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.6945, allocations: 17.75 kB / 0.838 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.695, allocations: 236.9 kB / 0.8382 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.695, allocations: 0 / 0.8382 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.6951, allocations: 10.91 kB / 0.8382 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.6951, allocations: 11.11 kB / 0.8382 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005374/0.6956, allocations: 252 kB / 0.8385 GB, free: 3.371 MB / 0.6075 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.001329/0.697, allocations: 0.8427 MB / 0.8393 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.6973, allocations: 138.4 kB / 0.8394 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.6975, allocations: 118.8 kB / 0.8395 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.6978, allocations: 188.8 kB / 0.8397 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.6979, allocations: 34.56 kB / 0.8397 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 4.799e-06/0.6979, allocations: 4 kB / 0.8397 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0008449/0.6987, allocations: 305.8 kB / 0.84 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.6988, allocations: 54.19 kB / 0.8401 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.699, allocations: 238.7 kB / 0.8403 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.699, allocations: 32.67 kB / 0.8403 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.6991, allocations: 133.8 kB / 0.8405 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.6992, allocations: 53.06 kB / 0.8405 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.6992, allocations: 38.27 kB / 0.8406 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6994, allocations: 338.1 kB / 0.8409 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.6995, allocations: 67.98 kB / 0.8409 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.6997, allocations: 101.9 kB / 0.841 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.7001, allocations: 168.5 kB / 0.8412 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7001, allocations: 0 / 0.8412 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004245/0.7005, allocations: 212.7 kB / 0.8414 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7005, allocations: 11.59 kB / 0.8414 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.7006, allocations: 4.062 kB / 0.8414 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7006, allocations: 3.938 kB / 0.8414 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.7008, allocations: 29.05 kB / 0.8415 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.7008, allocations: 3.984 kB / 0.8415 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.701, allocations: 23.12 kB / 0.8415 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.701, allocations: 9.266 kB / 0.8415 GB, free: 0.9531 MB / 0.6075 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.0001317/0.7011, allocations: 140.9 kB / 0.8416 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.7012, allocations: 21.38 kB / 0.8416 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.02e-05/0.7013, allocations: 37.17 kB / 0.8417 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.7013, allocations: 2.75 kB / 0.8417 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7013, allocations: 0 / 0.8417 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7013, allocations: 0 / 0.8417 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.7023, allocations: 0.6745 MB / 0.8423 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.7023, allocations: 2.906 kB / 0.8423 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.7025, allocations: 34.56 kB / 0.8424 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7025, allocations: 2.875 kB / 0.8424 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.7025, allocations: 6.969 kB / 0.8424 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7025, allocations: 2.625 kB / 0.8424 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7025, allocations: 6.031 kB / 0.8424 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.703, allocations: 347.6 kB / 0.8427 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.7031, allocations: 125.2 kB / 0.8428 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.7032, allocations: 2.406 kB / 0.8428 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.7033, allocations: 13.17 kB / 0.8429 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.7034, allocations: 15.42 kB / 0.8429 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.7034, allocations: 8.656 kB / 0.8429 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001442/0.7036, allocations: 185.5 kB / 0.8431 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7036, allocations: 0 / 0.8431 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003436/0.7039, allocations: 63.48 kB / 0.8431 GB, free: 15.61 MB / 0.6231 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.001008/0.7049, allocations: 0.9458 MB / 0.844 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.7054, allocations: 174.1 kB / 0.8442 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7054, allocations: 0 / 0.8442 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.7056, allocations: 100.2 kB / 0.8443 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.7063, allocations: 126.4 kB / 0.8444 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.7091, allocations: 2.459 MB / 0.8468 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.7094, allocations: 0.7556 MB / 0.8476 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001947/0.7097, allocations: 66.2 kB / 0.8476 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.7098, allocations: 64.03 kB / 0.8477 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.7098, allocations: 0 / 0.8477 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.7347, allocations: 6.949 MB / 0.8545 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.438, allocations: 14.11 kB / 0.8545 GB, free: 6.09 MB / 0.6231 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/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)