Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_dev_IDEAS_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.001414/0.001414, allocations: 104 kB / 15.6 MB, free: 148 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.001761/0.001761, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9386/0.9386, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 59.69 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1771, allocations: 80.94 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6745/0.8517, allocations: 241.9 MB / 0.8207 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02371/0.8755, allocations: 13.54 MB / 0.8339 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004254/0.8798, allocations: 55.62 kB / 0.8339 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004733/0.8846, allocations: 0.9821 MB / 0.8349 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006822/0.8915, allocations: 1.779 MB / 0.8366 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.895, allocations: 1.228 MB / 0.8378 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005521/0.9006, allocations: 3.26 MB / 0.841 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.9026, allocations: 1.055 MB / 0.8421 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/0.9143, allocations: 4.109 MB / 0.8461 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.9163, allocations: 0.8904 MB / 0.8469 GB, free: 15.76 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00049/0.9168, allocations: 80 kB / 0.847 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.9191, allocations: 0.7014 MB / 0.8477 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008231/0.9199, allocations: 446.6 kB / 0.8481 GB, free: 14.54 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.9218, allocations: 0.6839 MB / 0.8488 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003596/0.9254, allocations: 1.51 MB / 0.8503 GB, free: 12.34 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.9254, allocations: 0 / 0.8503 GB, free: 12.34 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.296e-06/0.9255, allocations: 0 / 0.8503 GB, free: 12.34 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.137e-05/0.9256, allocations: 4 kB / 0.8503 GB, free: 12.34 MB / 0.67 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.004157/0.9297, allocations: 1.622 MB / 0.8519 GB, free: 10.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.9298, allocations: 12.03 kB / 0.8519 GB, free: 10.65 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002197/0.93, allocations: 122.7 kB / 0.852 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008873/0.9309, allocations: 202 kB / 0.8522 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.9326, allocations: 0.8464 MB / 0.853 GB, free: 9.418 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.9328, allocations: 121.4 kB / 0.8531 GB, free: 9.289 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.9329, allocations: 88 kB / 0.8532 GB, free: 9.203 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.9345, allocations: 0.9181 MB / 0.8541 GB, free: 8.191 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.9345, allocations: 0 / 0.8541 GB, free: 8.191 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/0.9346, allocations: 36 kB / 0.8541 GB, free: 8.156 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.9346, allocations: 20 kB / 0.8542 GB, free: 8.137 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009544/0.9356, allocations: 0.511 MB / 0.8547 GB, free: 7.629 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.005317/0.9409, allocations: 4.884 MB / 0.8594 GB, free: 2.43 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.9415, allocations: 412.6 kB / 0.8598 GB, free: 1.898 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.9419, allocations: 263.9 kB / 0.8601 GB, free: 1.598 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.9421, allocations: 105 kB / 0.8602 GB, free: 1.477 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.9422, allocations: 46.5 kB / 0.8602 GB, free: 1.422 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.475e-06/0.9422, allocations: 4 kB / 0.8602 GB, free: 1.418 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.00193/0.9441, allocations: 0.7857 MB / 0.861 GB, free: 0.582 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.9443, allocations: 405.8 kB / 0.8614 GB, free: 96 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3696/1.314, allocations: 1.271 MB / 0.8626 GB, free: 225.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/1.314, allocations: 35.14 kB / 0.8626 GB, free: 225.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/1.314, allocations: 0.5493 MB / 0.8632 GB, free: 225.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.727e-05/1.315, allocations: 107.2 kB / 0.8633 GB, free: 225.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/1.315, allocations: 79.47 kB / 0.8634 GB, free: 225.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/1.315, allocations: 324.9 kB / 0.8637 GB, free: 224.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/1.315, allocations: 89.52 kB / 0.8638 GB, free: 224.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/1.315, allocations: 336.2 kB / 0.8641 GB, free: 224.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/1.316, allocations: 327.9 kB / 0.8644 GB, free: 224.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.316, allocations: 0.5312 kB / 0.8644 GB, free: 224.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008476/1.317, allocations: 499.4 kB / 0.8649 GB, free: 224.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.317, allocations: 12.7 kB / 0.8649 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.317, allocations: 4.391 kB / 0.8649 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002889/1.317, allocations: 68.62 kB / 0.8649 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/1.317, allocations: 56.33 kB / 0.865 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/1.319, allocations: 3.268 MB / 0.8682 GB, free: 221.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008624/1.32, allocations: 94.22 kB / 0.8683 GB, free: 221 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/1.32, allocations: 22.98 kB / 0.8683 GB, free: 221 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.0004609/1.32, allocations: 281.2 kB / 0.8686 GB, free: 220.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/1.321, allocations: 134.7 kB / 0.8687 GB, free: 220.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/1.321, allocations: 130.6 kB / 0.8688 GB, free: 220.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.321, allocations: 6.094 kB / 0.8688 GB, free: 220.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.321, allocations: 2.938 kB / 0.8688 GB, free: 220.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/1.321, allocations: 5.875 kB / 0.8688 GB, free: 220.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/1.324, allocations: 2.518 MB / 0.8713 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.324, allocations: 6.844 kB / 0.8713 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/1.324, allocations: 54.98 kB / 0.8714 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001849/1.324, allocations: 71.56 kB / 0.8714 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/1.324, allocations: 10.44 kB / 0.8714 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/1.326, allocations: 3.266 MB / 0.8746 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.326, allocations: 5.594 kB / 0.8746 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/1.327, allocations: 0.6754 MB / 0.8753 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/1.327, allocations: 241.8 kB / 0.8755 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/1.327, allocations: 15.8 kB / 0.8755 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/1.328, allocations: 51.06 kB / 0.8756 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/1.328, allocations: 41.23 kB / 0.8756 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/1.328, allocations: 19.08 kB / 0.8756 GB, free: 215 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009793/1.329, allocations: 0.8809 MB / 0.8765 GB, free: 214.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.51e-07/1.329, allocations: 0 / 0.8765 GB, free: 214.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000988/1.33, allocations: 253.2 kB / 0.8767 GB, free: 214.7 MB / 0.67 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.001224/1.331, allocations: 1.324 MB / 0.878 GB, free: 213.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008638/1.332, allocations: 0.5271 MB / 0.8785 GB, free: 213.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.332, allocations: 2.219 kB / 0.8786 GB, free: 213.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/1.333, allocations: 410 kB / 0.8789 GB, free: 213.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/1.336, allocations: 0.7685 MB / 0.8797 GB, free: 212.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009993/1.346, allocations: 9.004 MB / 0.8885 GB, free: 207.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/1.347, allocations: 1.138 MB / 0.8896 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001054/1.348, allocations: 237.6 kB / 0.8898 GB, free: 207 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/1.348, allocations: 447.4 kB / 0.8903 GB, free: 206.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/1.348, allocations: 0 / 0.8903 GB, free: 206.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08988/1.438, allocations: 33.96 MB / 0.9234 GB, free: 198.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.64, allocations: 21.8 kB / 0.9234 GB, free: 198.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)