Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IBPSA_latest_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.001555/0.001555, allocations: 106.4 kB / 16.4 MB, free: 6.457 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.001668/0.001668, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7072/0.7072, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 64.38 kB / 0.5572 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1561, allocations: 76.19 MB / 0.6316 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6158/0.772, allocations: 241.9 MB / 0.8678 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02483/0.7969, allocations: 13.53 MB / 0.881 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002825/0.7998, allocations: 55.62 kB / 0.8811 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.8032, allocations: 0.9859 MB / 0.8821 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005593/0.8088, allocations: 1.78 MB / 0.8838 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.8123, allocations: 1.244 MB / 0.885 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004712/0.817, allocations: 3.26 MB / 0.8882 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.8183, allocations: 1.051 MB / 0.8892 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009243/0.8276, allocations: 4.141 MB / 0.8933 GB, free: 444 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.8291, allocations: 0.8982 MB / 0.8941 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.8292, allocations: 76 kB / 0.8942 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.8306, allocations: 0.6975 MB / 0.8949 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.8309, allocations: 450.6 kB / 0.8953 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006508/0.8316, allocations: 0.6839 MB / 0.896 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.8333, allocations: 1.522 MB / 0.8975 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8333, allocations: 0 / 0.8975 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8333, allocations: 0 / 0.8975 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.8334, allocations: 0 / 0.8975 GB, free: 12.1 MB / 0.6544 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.00215/0.8355, allocations: 1.615 MB / 0.8991 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.8356, allocations: 8.031 kB / 0.8991 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.8357, allocations: 130.7 kB / 0.8992 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006081/0.8363, allocations: 202.1 kB / 0.8994 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.8378, allocations: 0.9011 MB / 0.9003 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.8379, allocations: 129.3 kB / 0.9004 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-05/0.838, allocations: 84 kB / 0.9005 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.8393, allocations: 0.9182 MB / 0.9014 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.8393, allocations: 7.938 kB / 0.9014 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.023e-05/0.8394, allocations: 32 kB / 0.9014 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.8394, allocations: 20 kB / 0.9014 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.8402, allocations: 0.5048 MB / 0.9019 GB, free: 7.344 MB / 0.6544 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.004547/0.8448, allocations: 4.857 MB / 0.9066 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.8454, allocations: 416.7 kB / 0.907 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.8457, allocations: 276.2 kB / 0.9073 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.8459, allocations: 105 kB / 0.9074 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.539e-05/0.846, allocations: 50.5 kB / 0.9075 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.846, allocations: 0 / 0.9075 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.00174/0.8477, allocations: 0.7754 MB / 0.9082 GB, free: 328 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.8479, allocations: 397.8 kB / 0.9086 GB, free: 15.84 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.8493, allocations: 1.279 MB / 0.9098 GB, free: 14.55 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.8493, allocations: 41.7 kB / 0.9099 GB, free: 14.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.8498, allocations: 0.5418 MB / 0.9104 GB, free: 13.95 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.547e-05/0.8498, allocations: 114.4 kB / 0.9105 GB, free: 13.84 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.85, allocations: 77.7 kB / 0.9106 GB, free: 13.76 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8501, allocations: 321.9 kB / 0.9109 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.8503, allocations: 100.4 kB / 0.911 GB, free: 13.34 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.8507, allocations: 338.4 kB / 0.9113 GB, free: 12.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.8511, allocations: 328.5 kB / 0.9116 GB, free: 12.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.8512, allocations: 0 / 0.9116 GB, free: 12.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008264/0.852, allocations: 0.4896 MB / 0.9121 GB, free: 12.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.852, allocations: 4 kB / 0.9121 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.852, allocations: 4 kB / 0.9121 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.8523, allocations: 73.75 kB / 0.9122 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.8526, allocations: 63.91 kB / 0.9123 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.8551, allocations: 3.254 MB / 0.9154 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006827/0.8558, allocations: 95.27 kB / 0.9155 GB, free: 8.277 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.8559, allocations: 23.98 kB / 0.9155 GB, free: 8.254 MB / 0.67 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.0004212/0.8563, allocations: 273.8 kB / 0.9158 GB, free: 7.977 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/0.8567, allocations: 138.4 kB / 0.9159 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.8569, allocations: 128 kB / 0.9161 GB, free: 7.707 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8569, allocations: 7.938 kB / 0.9161 GB, free: 7.699 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.8569, allocations: 11.94 kB / 0.9161 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.8569, allocations: 7.984 kB / 0.9161 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.8599, allocations: 2.508 MB / 0.9185 GB, free: 5.027 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.8599, allocations: 8 kB / 0.9185 GB, free: 5.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.8601, allocations: 47.92 kB / 0.9186 GB, free: 4.973 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/0.8602, allocations: 74.3 kB / 0.9187 GB, free: 4.895 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.8603, allocations: 16 kB / 0.9187 GB, free: 4.879 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.8628, allocations: 3.254 MB / 0.9219 GB, free: 1.348 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.8628, allocations: 11.94 kB / 0.9219 GB, free: 1.336 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.8636, allocations: 0.6846 MB / 0.9225 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.864, allocations: 243.4 kB / 0.9228 GB, free: 308 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.8641, allocations: 12 kB / 0.9228 GB, free: 296 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/0.8647, allocations: 47.94 kB / 0.9228 GB, free: 248 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.8648, allocations: 39.84 kB / 0.9229 GB, free: 208 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.8648, allocations: 23.94 kB / 0.9229 GB, free: 184 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001013/0.8658, allocations: 0.8841 MB / 0.9237 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8659, allocations: 0 / 0.9237 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000854/0.8667, allocations: 255.7 kB / 0.924 GB, free: 15.05 MB / 0.6856 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.001372/0.8681, allocations: 1.325 MB / 0.9253 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008636/0.869, allocations: 0.5326 MB / 0.9258 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.869, allocations: 0 / 0.9258 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004724/0.8695, allocations: 407 kB / 0.9262 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.8725, allocations: 0.7345 MB / 0.9269 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009618/0.8822, allocations: 8.2 MB / 0.9349 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.8828, allocations: 1.138 MB / 0.936 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000694/0.8835, allocations: 242.5 kB / 0.9363 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/0.884, allocations: 439.3 kB / 0.9367 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of SimCode: time 5.71e-07/0.884, allocations: 0 / 0.9367 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07175/0.9558, allocations: 34.81 MB / 0.9707 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.24, allocations: 23.11 kB / 0.9707 GB, free: 15.2 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)