Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_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.007947/0.007947, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.0023/0.0023, allocations: 196.2 kB / 16.67 MB, free: 6.352 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002581/0.002581, allocations: 286.4 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.09/1.09, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003035/0.003035, allocations: 107.8 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1724, allocations: 86.97 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6076/0.78, allocations: 241.9 MB / 1.002 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01844/0.7985, allocations: 13.53 MB / 1.015 GB, free: 3.422 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.8004, allocations: 59.62 kB / 1.015 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.8029, allocations: 0.9782 MB / 1.016 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004459/0.8074, allocations: 1.775 MB / 1.018 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.8105, allocations: 1.257 MB / 1.019 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004427/0.8149, allocations: 3.26 MB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.8165, allocations: 1.055 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01038/0.8269, allocations: 4.121 MB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.8286, allocations: 0.906 MB / 1.028 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.8288, allocations: 80 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.8305, allocations: 0.6975 MB / 1.029 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004712/0.8309, allocations: 438.6 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008307/0.8318, allocations: 0.6839 MB / 1.03 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.8339, allocations: 1.552 MB / 1.032 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.8339, allocations: 0 / 1.032 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8339, allocations: 0 / 1.032 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.834, allocations: 0 / 1.032 GB, free: 2.504 MB / 0.7794 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.003267/0.8372, allocations: 1.669 MB / 1.033 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.8373, allocations: 8.031 kB / 1.033 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.8375, allocations: 126.7 kB / 1.034 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.8386, allocations: 214.9 kB / 1.034 GB, free: 440 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.841, allocations: 0.9139 MB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.8412, allocations: 129.4 kB / 1.035 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.8414, allocations: 83.98 kB / 1.035 GB, free: 15.24 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.843, allocations: 0.9216 MB / 1.036 GB, free: 14.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.8431, allocations: 4 kB / 1.036 GB, free: 14.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/0.8431, allocations: 32 kB / 1.036 GB, free: 14.2 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.8432, allocations: 20 kB / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.8441, allocations: 0.508 MB / 1.036 GB, free: 13.68 MB / 0.795 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.005814/0.85, allocations: 4.862 MB / 1.041 GB, free: 8.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008749/0.8508, allocations: 430.3 kB / 1.041 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/0.8514, allocations: 259.9 kB / 1.042 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.8517, allocations: 105 kB / 1.042 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.8518, allocations: 46.5 kB / 1.042 GB, free: 7.48 MB / 0.795 GB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.8518, allocations: 0 / 1.042 GB, free: 7.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=31): time 0.002245/0.854, allocations: 0.7956 MB / 1.043 GB, free: 6.637 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/0.8543, allocations: 401.9 kB / 1.043 GB, free: 6.152 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.8561, allocations: 1.271 MB / 1.044 GB, free: 4.871 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.8562, allocations: 41.7 kB / 1.044 GB, free: 4.824 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/0.8567, allocations: 0.5499 MB / 1.045 GB, free: 4.27 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.8568, allocations: 111.2 kB / 1.045 GB, free: 4.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.8569, allocations: 85.64 kB / 1.045 GB, free: 4.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8571, allocations: 325.9 kB / 1.045 GB, free: 3.746 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.8573, allocations: 89.06 kB / 1.045 GB, free: 3.66 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.8577, allocations: 338.8 kB / 1.046 GB, free: 3.234 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.8583, allocations: 328.5 kB / 1.046 GB, free: 2.867 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8583, allocations: 0 / 1.046 GB, free: 2.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008776/0.8592, allocations: 0.4902 MB / 1.047 GB, free: 2.363 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.8592, allocations: 11.98 kB / 1.047 GB, free: 2.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8592, allocations: 4 kB / 1.047 GB, free: 2.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/0.8595, allocations: 66.02 kB / 1.047 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.8597, allocations: 59.91 kB / 1.047 GB, free: 2.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.8625, allocations: 3.266 MB / 1.05 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/0.8632, allocations: 103.4 kB / 1.05 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.8633, allocations: 20 kB / 1.05 GB, free: 14.55 MB / 0.8106 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.0003999/0.8637, allocations: 275.2 kB / 1.05 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/0.8641, allocations: 147.1 kB / 1.05 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.8643, allocations: 128.1 kB / 1.051 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.8643, allocations: 11.98 kB / 1.051 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.8643, allocations: 7.938 kB / 1.051 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.8643, allocations: 7.984 kB / 1.051 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.8678, allocations: 2.52 MB / 1.053 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8678, allocations: 4 kB / 1.053 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.868, allocations: 51.95 kB / 1.053 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001903/0.8682, allocations: 69.84 kB / 1.053 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.8682, allocations: 12 kB / 1.053 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.8709, allocations: 3.266 MB / 1.056 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.8709, allocations: 4 kB / 1.056 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009343/0.8718, allocations: 0.6892 MB / 1.057 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.8722, allocations: 264 kB / 1.057 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.8723, allocations: 12 kB / 1.057 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006888/0.873, allocations: 39.94 kB / 1.057 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.8731, allocations: 43.84 kB / 1.057 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.8731, allocations: 16 kB / 1.057 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001168/0.8743, allocations: 0.8802 MB / 1.058 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.51e-07/0.8743, allocations: 0 / 1.058 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001163/0.8755, allocations: 251.8 kB / 1.058 GB, free: 5.332 MB / 0.8106 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.001552/0.8771, allocations: 1.337 MB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009569/0.878, allocations: 0.5204 MB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.878, allocations: 4.625 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00057/0.8786, allocations: 409.2 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/0.8818, allocations: 0.7437 MB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.893, allocations: 8.244 MB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/0.8938, allocations: 1.127 MB / 1.071 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007795/0.8946, allocations: 246.5 kB / 1.071 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/0.8951, allocations: 439.3 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.8951, allocations: 0 / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3879/1.283, allocations: 34.25 MB / 1.105 GB, free: 293.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13.27, allocations: 12.64 kB / 1.105 GB, free: 293.2 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)