Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.PressureDropsExplicitLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.007688/0.007688, allocations: 101 kB / 15.73 MB, free: 6.059 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.002116/0.002116, allocations: 196.9 kB / 16.68 MB, free: 5.969 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9233/0.9233, allocations: 143.3 MB / 433.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 64.91 kB / 0.5953 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1574, allocations: 82.04 MB / 0.6754 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.597/0.7544, allocations: 242.1 MB / 0.9119 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.773, allocations: 13.56 MB / 0.9251 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.7748, allocations: 59.62 kB / 0.9252 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.7774, allocations: 0.9782 MB / 0.9262 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004828/0.7823, allocations: 1.784 MB / 0.9279 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.7856, allocations: 1.243 MB / 0.9291 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004854/0.7904, allocations: 3.26 MB / 0.9323 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.7923, allocations: 1.059 MB / 0.9333 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009341/0.8016, allocations: 4.121 MB / 0.9374 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.8031, allocations: 0.8866 MB / 0.9382 GB, free: 356 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.8033, allocations: 84 kB / 0.9383 GB, free: 272 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.8048, allocations: 0.7015 MB / 0.939 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004562/0.8053, allocations: 450.4 kB / 0.9394 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007948/0.8061, allocations: 0.68 MB / 0.9401 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.8081, allocations: 1.595 MB / 0.9416 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8082, allocations: 0 / 0.9416 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8082, allocations: 0 / 0.9416 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.8082, allocations: 0 / 0.9416 GB, free: 12.84 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002339/0.8105, allocations: 1.669 MB / 0.9433 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8106, allocations: 12.02 kB / 0.9433 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.8107, allocations: 126.7 kB / 0.9434 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006608/0.8114, allocations: 214.9 kB / 0.9436 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.8129, allocations: 0.9178 MB / 0.9445 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.8131, allocations: 125.4 kB / 0.9446 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.8132, allocations: 84.88 kB / 0.9447 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.8147, allocations: 0.9181 MB / 0.9456 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.8147, allocations: 7.938 kB / 0.9456 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.8148, allocations: 35.98 kB / 0.9456 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.8148, allocations: 20 kB / 0.9457 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/0.8157, allocations: 0.5083 MB / 0.9462 GB, free: 7.988 MB / 0.7169 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.004844/0.8206, allocations: 4.866 MB / 0.9509 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/0.8212, allocations: 416.7 kB / 0.9513 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.8216, allocations: 267.8 kB / 0.9516 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.8218, allocations: 93.09 kB / 0.9517 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.8219, allocations: 62.44 kB / 0.9517 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 3.818e-06/0.8219, allocations: 3.984 kB / 0.9517 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001891/0.8238, allocations: 0.7842 MB / 0.9525 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/0.824, allocations: 405.8 kB / 0.9529 GB, free: 484 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.8256, allocations: 1.275 MB / 0.9541 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.8257, allocations: 37.7 kB / 0.9541 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.8262, allocations: 0.5499 MB / 0.9547 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-05/0.8263, allocations: 115 kB / 0.9548 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.8264, allocations: 81.66 kB / 0.9549 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8265, allocations: 325.9 kB / 0.9552 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.8268, allocations: 91.92 kB / 0.9553 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.8272, allocations: 338.2 kB / 0.9556 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.8277, allocations: 320.6 kB / 0.9559 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8278, allocations: 3.938 kB / 0.9559 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000887/0.8287, allocations: 0.4902 MB / 0.9564 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.8287, allocations: 8 kB / 0.9564 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.8287, allocations: 0 / 0.9564 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.829, allocations: 77.95 kB / 0.9565 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.8292, allocations: 59.91 kB / 0.9565 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.8319, allocations: 3.254 MB / 0.9597 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/0.8327, allocations: 95.42 kB / 0.9598 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.8328, allocations: 24.05 kB / 0.9598 GB, free: 8.883 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000412/0.8332, allocations: 278.8 kB / 0.9601 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/0.8336, allocations: 147.2 kB / 0.9602 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.8338, allocations: 128 kB / 0.9603 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.8338, allocations: 11.98 kB / 0.9604 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.8338, allocations: 11.94 kB / 0.9604 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.8338, allocations: 4 kB / 0.9604 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.8372, allocations: 2.516 MB / 0.9628 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.8372, allocations: 8 kB / 0.9628 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.8374, allocations: 48.59 kB / 0.9629 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.8376, allocations: 73.67 kB / 0.963 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.8376, allocations: 12 kB / 0.963 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.8404, allocations: 3.262 MB / 0.9661 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.8404, allocations: 8 kB / 0.9662 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.8415, allocations: 0.693 MB / 0.9668 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.8419, allocations: 256.1 kB / 0.9671 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.842, allocations: 16 kB / 0.9671 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/0.8427, allocations: 43.95 kB / 0.9671 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.8428, allocations: 47.83 kB / 0.9672 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.8429, allocations: 12 kB / 0.9672 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001197/0.8441, allocations: 0.8805 MB / 0.9681 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8441, allocations: 0 / 0.9681 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009617/0.845, allocations: 259.7 kB / 0.9683 GB, free: 15.64 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001585/0.8466, allocations: 1.345 MB / 0.9696 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009852/0.8476, allocations: 0.5204 MB / 0.9701 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8476, allocations: 0.6875 kB / 0.9701 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.8482, allocations: 409.1 kB / 0.9705 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/0.8516, allocations: 0.7363 MB / 0.9712 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.8632, allocations: 8.244 MB / 0.9793 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/0.8641, allocations: 1.142 MB / 0.9804 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008501/0.865, allocations: 242.5 kB / 0.9806 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/0.8655, allocations: 447.3 kB / 0.9811 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/0.8655, allocations: 0 / 0.9811 GB, free: 2.055 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0788/0.9443, allocations: 34.3 MB / 1.015 GB, free: 352 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.27, allocations: 8.766 kB / 1.015 GB, free: 344 kB / 0.7794 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)