Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_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.001294/0.001294, 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.001373/0.001373, allocations: 192.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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7814/0.7814, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 63.69 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4141, allocations: 80.21 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6745/1.089, allocations: 241.9 MB / 0.8164 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01755/1.106, allocations: 13.53 MB / 0.8296 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003734/1.11, allocations: 56.56 kB / 0.8297 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003441/1.114, allocations: 0.9817 MB / 0.8306 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005935/1.12, allocations: 1.785 MB / 0.8324 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/1.123, allocations: 1.222 MB / 0.8336 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005164/1.128, allocations: 3.256 MB / 0.8367 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/1.13, allocations: 1.058 MB / 0.8378 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/1.14, allocations: 4.106 MB / 0.8418 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/1.142, allocations: 0.8984 MB / 0.8427 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/1.142, allocations: 78.77 kB / 0.8427 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/1.144, allocations: 0.696 MB / 0.8434 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000489/1.145, allocations: 441.2 kB / 0.8438 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009513/1.146, allocations: 0.6803 MB / 0.8445 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/1.148, allocations: 1.517 MB / 0.846 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/1.148, allocations: 0 / 0.846 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.424e-06/1.148, allocations: 0.7812 kB / 0.846 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.22e-05/1.148, allocations: 0 / 0.846 GB, free: 1.52 MB / 0.6387 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.002179/1.15, allocations: 1.624 MB / 0.8476 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.15, allocations: 10.25 kB / 0.8476 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/1.15, allocations: 129.7 kB / 0.8477 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006092/1.151, allocations: 200.6 kB / 0.8479 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/1.152, allocations: 0.8329 MB / 0.8487 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/1.152, allocations: 121.8 kB / 0.8488 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/1.152, allocations: 83.19 kB / 0.8489 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.153, allocations: 0.9223 MB / 0.8498 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.153, allocations: 3.188 kB / 0.8498 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/1.153, allocations: 35.97 kB / 0.8498 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/1.153, allocations: 23.83 kB / 0.8499 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/1.154, allocations: 0.5119 MB / 0.8504 GB, free: 15.79 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.004069/1.158, allocations: 4.892 MB / 0.8551 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/1.159, allocations: 423 kB / 0.8556 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/1.159, allocations: 262.5 kB / 0.8558 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/1.159, allocations: 103.7 kB / 0.8559 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.159, allocations: 54 kB / 0.856 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.756e-06/1.159, allocations: 0 / 0.856 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001815/1.161, allocations: 0.7843 MB / 0.8567 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/1.161, allocations: 402.3 kB / 0.8571 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/1.163, allocations: 1.269 MB / 0.8583 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/1.163, allocations: 39.14 kB / 0.8584 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/1.163, allocations: 0.5485 MB / 0.8589 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.575e-05/1.163, allocations: 113.3 kB / 0.859 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.163, allocations: 83.62 kB / 0.8591 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.164, allocations: 316.6 kB / 0.8594 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/1.164, allocations: 93.83 kB / 0.8595 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/1.164, allocations: 337.4 kB / 0.8598 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/1.165, allocations: 325.5 kB / 0.8601 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.165, allocations: 7.344 kB / 0.8601 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008133/1.165, allocations: 491.5 kB / 0.8606 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.166, allocations: 9.656 kB / 0.8606 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.166, allocations: 5.781 kB / 0.8606 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/1.166, allocations: 75.78 kB / 0.8607 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/1.166, allocations: 59.7 kB / 0.8607 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.168, allocations: 3.259 MB / 0.8639 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/1.169, allocations: 97.67 kB / 0.864 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/1.169, allocations: 21.98 kB / 0.864 GB, free: 6.766 MB / 0.6544 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.0004337/1.17, allocations: 276.5 kB / 0.8643 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/1.17, allocations: 136.2 kB / 0.8644 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/1.17, allocations: 131.2 kB / 0.8646 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.17, allocations: 8.188 kB / 0.8646 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.17, allocations: 3.406 kB / 0.8646 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/1.17, allocations: 11.53 kB / 0.8646 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/1.173, allocations: 2.515 MB / 0.867 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.173, allocations: 4.969 kB / 0.867 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/1.174, allocations: 49.89 kB / 0.8671 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/1.174, allocations: 75.28 kB / 0.8672 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/1.174, allocations: 13 kB / 0.8672 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/1.176, allocations: 3.259 MB / 0.8704 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.176, allocations: 9.094 kB / 0.8704 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/1.177, allocations: 0.6778 MB / 0.871 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/1.177, allocations: 252.3 kB / 0.8713 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/1.178, allocations: 16.08 kB / 0.8713 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/1.178, allocations: 40.69 kB / 0.8713 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/1.178, allocations: 43.16 kB / 0.8714 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/1.178, allocations: 18.81 kB / 0.8714 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001053/1.179, allocations: 0.8775 MB / 0.8722 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/1.179, allocations: 0.9688 kB / 0.8722 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001011/1.18, allocations: 260.6 kB / 0.8725 GB, free: 1.363 MB / 0.6544 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.001538/1.182, allocations: 1.327 MB / 0.8738 GB, free: 416 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.183, allocations: 0.5247 MB / 0.8743 GB, free: 176 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.183, allocations: 1.422 kB / 0.8743 GB, free: 176 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005902/1.184, allocations: 405.2 kB / 0.8747 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/1.187, allocations: 0.7465 MB / 0.8754 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/1.2, allocations: 9.012 MB / 0.8842 GB, free: 12.07 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/1.2, allocations: 1.132 MB / 0.8853 GB, free: 11.35 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001076/1.201, allocations: 243.1 kB / 0.8856 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/1.202, allocations: 438.3 kB / 0.886 GB, free: 11.29 MB / 0.67 GB Notification: Performance of SimCode: time 8.01e-07/1.202, allocations: 2.375 kB / 0.886 GB, free: 11.29 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9157/2.117, allocations: 33.96 MB / 0.9191 GB, free: 6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/12.41, allocations: 0 / 0.9191 GB, free: 6 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)