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.001488/0.001488, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 267.1 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9582/0.9582, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 93.41 kB / 0.5953 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1552, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5217/0.6769, allocations: 241.9 MB / 0.9165 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.6937, allocations: 13.52 MB / 0.9297 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.6958, allocations: 59.62 kB / 0.9298 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.6982, allocations: 0.9821 MB / 0.9307 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004395/0.7026, allocations: 1.781 MB / 0.9325 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.7056, allocations: 1.217 MB / 0.9336 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004382/0.7099, allocations: 3.269 MB / 0.9368 GB, free: 464 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.7116, allocations: 1.059 MB / 0.9379 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.7217, allocations: 4.113 MB / 0.9419 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.7234, allocations: 0.8943 MB / 0.9428 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003934/0.7238, allocations: 80 kB / 0.9428 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.7257, allocations: 0.6858 MB / 0.9435 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006513/0.7264, allocations: 454.6 kB / 0.9439 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.7276, allocations: 0.6877 MB / 0.9446 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.7301, allocations: 1.51 MB / 0.9461 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7301, allocations: 0 / 0.9461 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7301, allocations: 0 / 0.9461 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.997e-05/0.7301, allocations: 0 / 0.9461 GB, free: 6.926 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.002639/0.7328, allocations: 1.628 MB / 0.9477 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7328, allocations: 8.031 kB / 0.9477 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.733, allocations: 126.7 kB / 0.9478 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007905/0.7338, allocations: 198.2 kB / 0.948 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.7353, allocations: 0.8347 MB / 0.9488 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.7355, allocations: 125.4 kB / 0.9489 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.74e-05/0.7356, allocations: 80 kB / 0.949 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.737, allocations: 0.9181 MB / 0.9499 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.737, allocations: 7.938 kB / 0.9499 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/0.7371, allocations: 32 kB / 0.9499 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.7371, allocations: 20 kB / 0.95 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009418/0.7381, allocations: 0.5135 MB / 0.9505 GB, free: 2.227 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.005001/0.7431, allocations: 4.892 MB / 0.9552 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.7437, allocations: 420.6 kB / 0.9556 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.7441, allocations: 263.9 kB / 0.9559 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.7443, allocations: 97.09 kB / 0.956 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.7443, allocations: 54.48 kB / 0.956 GB, free: 12.01 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/0.7443, allocations: 0 / 0.956 GB, free: 12.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001815/0.7461, allocations: 0.7868 MB / 0.9568 GB, free: 11.17 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.7463, allocations: 393.8 kB / 0.9572 GB, free: 10.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.7478, allocations: 1.275 MB / 0.9584 GB, free: 9.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.7479, allocations: 37.7 kB / 0.9585 GB, free: 9.367 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.7484, allocations: 0.5613 MB / 0.959 GB, free: 8.801 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.555e-05/0.7484, allocations: 102.5 kB / 0.9591 GB, free: 8.699 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.7486, allocations: 85.59 kB / 0.9592 GB, free: 8.609 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7487, allocations: 325.9 kB / 0.9595 GB, free: 8.285 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.7489, allocations: 95.67 kB / 0.9596 GB, free: 8.191 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.7493, allocations: 331.8 kB / 0.9599 GB, free: 7.773 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.7498, allocations: 332.5 kB / 0.9602 GB, free: 7.402 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.7498, allocations: 0 / 0.9602 GB, free: 7.402 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008595/0.7507, allocations: 497.4 kB / 0.9607 GB, free: 6.902 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7507, allocations: 6.188 kB / 0.9607 GB, free: 6.898 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.7507, allocations: 4 kB / 0.9607 GB, free: 6.895 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.751, allocations: 77.89 kB / 0.9608 GB, free: 6.812 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.7512, allocations: 62.09 kB / 0.9608 GB, free: 6.754 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.7536, allocations: 3.261 MB / 0.964 GB, free: 3.215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.7544, allocations: 95.23 kB / 0.9641 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.7544, allocations: 20 kB / 0.9641 GB, free: 3.102 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.000381/0.7548, allocations: 267.9 kB / 0.9644 GB, free: 2.832 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/0.7553, allocations: 142.3 kB / 0.9645 GB, free: 2.691 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.7555, allocations: 127.9 kB / 0.9646 GB, free: 2.562 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.7555, allocations: 7.938 kB / 0.9647 GB, free: 2.555 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.7555, allocations: 8 kB / 0.9647 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.7555, allocations: 8 kB / 0.9647 GB, free: 2.539 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/0.7585, allocations: 2.512 MB / 0.9671 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.7585, allocations: 12.12 kB / 0.9671 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.7587, allocations: 55.84 kB / 0.9672 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.7589, allocations: 65.67 kB / 0.9673 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.7589, allocations: 15.94 kB / 0.9673 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.7611, allocations: 3.262 MB / 0.9705 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.7611, allocations: 8 kB / 0.9705 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/0.762, allocations: 0.6807 MB / 0.9711 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.7623, allocations: 243.3 kB / 0.9714 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.7625, allocations: 17.11 kB / 0.9714 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.7631, allocations: 43.95 kB / 0.9714 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.7632, allocations: 39.84 kB / 0.9715 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.7632, allocations: 15.98 kB / 0.9715 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001097/0.7644, allocations: 0.8841 MB / 0.9723 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7644, allocations: 0 / 0.9723 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009412/0.7653, allocations: 255.7 kB / 0.9726 GB, free: 9.91 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.001401/0.7667, allocations: 1.33 MB / 0.9739 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000875/0.7676, allocations: 0.521 MB / 0.9744 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7676, allocations: 0 / 0.9744 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005298/0.7682, allocations: 407 kB / 0.9748 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/0.7716, allocations: 0.7518 MB / 0.9755 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.783, allocations: 9.027 MB / 0.9843 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.7838, allocations: 1.131 MB / 0.9854 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001034/0.7848, allocations: 250.5 kB / 0.9857 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.7854, allocations: 439.3 kB / 0.9861 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of SimCode: time 1.413e-06/0.7854, allocations: 0 / 0.9861 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8042/1.59, allocations: 34 MB / 1.019 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/12.14, allocations: 17.77 kB / 1.019 GB, free: 9.953 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)