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.0008185/0.0008184, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004918/0.004918, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 274.2 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9027/0.9027, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.00041, allocations: 19.81 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.555/0.7261, allocations: 236.4 MB / 0.9161 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.7414, allocations: 13.43 MB / 0.9292 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.7427, allocations: 55.56 kB / 0.9293 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.7447, allocations: 0.8197 MB / 0.9301 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.7485, allocations: 1.693 MB / 0.9317 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.751, allocations: 1.119 MB / 0.9328 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004409/0.7554, allocations: 4.61 MB / 0.9373 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.7566, allocations: 0.8789 MB / 0.9382 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00883/0.7654, allocations: 3.83 MB / 0.9419 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.7672, allocations: 0.9332 MB / 0.9428 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.7673, allocations: 48 kB / 0.9429 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.7689, allocations: 0.8923 MB / 0.9438 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.7693, allocations: 418.5 kB / 0.9442 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006916/0.77, allocations: 0.67 MB / 0.9448 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.7716, allocations: 1.518 MB / 0.9463 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7716, allocations: 0 / 0.9463 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7717, allocations: 0 / 0.9463 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.7717, allocations: 4 kB / 0.9463 GB, free: 4.297 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.001972/0.7737, allocations: 1.385 MB / 0.9477 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.7737, allocations: 8.031 kB / 0.9477 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.7739, allocations: 126.7 kB / 0.9478 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005798/0.7744, allocations: 202.1 kB / 0.948 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.7755, allocations: 0.8386 MB / 0.9488 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.7757, allocations: 125.4 kB / 0.9489 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.7758, allocations: 84 kB / 0.949 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.777, allocations: 0.931 MB / 0.9499 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.777, allocations: 4 kB / 0.9499 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.7771, allocations: 35.94 kB / 0.9499 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.7771, allocations: 20 kB / 0.95 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008473/0.778, allocations: 0.5112 MB / 0.9505 GB, free: 15.82 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.00403/0.782, allocations: 4.896 MB / 0.9552 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.7826, allocations: 432.4 kB / 0.9557 GB, free: 10.06 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.7829, allocations: 267.8 kB / 0.9559 GB, free: 9.758 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.7831, allocations: 105.1 kB / 0.956 GB, free: 9.637 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.7831, allocations: 50.66 kB / 0.9561 GB, free: 9.578 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.7831, allocations: 0 / 0.9561 GB, free: 9.578 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.00168/0.7848, allocations: 0.8053 MB / 0.9568 GB, free: 8.723 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.785, allocations: 397.5 kB / 0.9572 GB, free: 8.242 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.7864, allocations: 1.275 MB / 0.9585 GB, free: 6.957 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.7864, allocations: 37.92 kB / 0.9585 GB, free: 6.914 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.7869, allocations: 0.5456 MB / 0.959 GB, free: 6.363 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.7869, allocations: 114.4 kB / 0.9591 GB, free: 6.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.787, allocations: 37.7 kB / 0.9592 GB, free: 6.207 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.7871, allocations: 321.9 kB / 0.9595 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.7873, allocations: 95.94 kB / 0.9596 GB, free: 5.793 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.7877, allocations: 347.5 kB / 0.9599 GB, free: 5.359 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.7882, allocations: 340.5 kB / 0.9602 GB, free: 4.98 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.7882, allocations: 0 / 0.9602 GB, free: 4.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007906/0.789, allocations: 0.5011 MB / 0.9607 GB, free: 4.465 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.789, allocations: 8.344 kB / 0.9607 GB, free: 4.457 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.789, allocations: 8 kB / 0.9607 GB, free: 4.449 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.7893, allocations: 69.67 kB / 0.9608 GB, free: 4.375 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.7895, allocations: 55.91 kB / 0.9609 GB, free: 4.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.7916, allocations: 2.927 MB / 0.9637 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.7924, allocations: 111.1 kB / 0.9638 GB, free: 1.012 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.7924, allocations: 20 kB / 0.9638 GB, free: 0.9922 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.0003391/0.7928, allocations: 278.3 kB / 0.9641 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.7931, allocations: 134.4 kB / 0.9642 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.7933, allocations: 127.9 kB / 0.9644 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.7933, allocations: 8 kB / 0.9644 GB, free: 452 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.7933, allocations: 8 kB / 0.9644 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7933, allocations: 4 kB / 0.9644 GB, free: 440 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.7962, allocations: 2.535 MB / 0.9669 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7962, allocations: 4 kB / 0.9669 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.7964, allocations: 56.59 kB / 0.9669 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.7965, allocations: 69.67 kB / 0.967 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.7966, allocations: 12 kB / 0.967 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.7986, allocations: 2.935 MB / 0.9699 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7986, allocations: 4 kB / 0.9699 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008078/0.7994, allocations: 0.6935 MB / 0.9705 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.7997, allocations: 259.2 kB / 0.9708 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.7998, allocations: 15.94 kB / 0.9708 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/0.8006, allocations: 67.92 kB / 0.9709 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.8007, allocations: 35.84 kB / 0.9709 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.8007, allocations: 24 kB / 0.9709 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001005/0.8017, allocations: 0.8802 MB / 0.9718 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8017, allocations: 0 / 0.9718 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000992/0.8027, allocations: 275.7 kB / 0.972 GB, free: 8.051 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.001324/0.804, allocations: 1.328 MB / 0.9733 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008422/0.8049, allocations: 0.529 MB / 0.9739 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8049, allocations: 0 / 0.9739 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004971/0.8054, allocations: 410.8 kB / 0.9743 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/0.8099, allocations: 0.8034 MB / 0.975 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.8215, allocations: 9.339 MB / 0.9842 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/0.8222, allocations: 1.131 MB / 0.9853 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001015/0.8233, allocations: 242.7 kB / 0.9855 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.8238, allocations: 451.3 kB / 0.9859 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of SimCode: time 2.875e-06/0.8238, allocations: 0 / 0.9859 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05472/0.8785, allocations: 35.64 MB / 1.021 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/0.8789, allocations: 309.7 kB / 1.021 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.309, allocations: 0 / 1.021 GB, free: 5.707 MB / 0.7325 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)