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.01009/0.01009, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.002345/0.002345, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9482/0.9482, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.89 kB / 0.5852 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4697, allocations: 80.91 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.7247/1.194, allocations: 241.9 MB / 0.9004 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01551/1.21, allocations: 13.53 MB / 0.9136 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/1.213, allocations: 60.59 kB / 0.9137 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/1.216, allocations: 0.9779 MB / 0.9146 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005656/1.222, allocations: 1.783 MB / 0.9164 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/1.225, allocations: 1.239 MB / 0.9176 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005449/1.231, allocations: 3.266 MB / 0.9208 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/1.232, allocations: 1.051 MB / 0.9218 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009163/1.242, allocations: 4.139 MB / 0.9258 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/1.243, allocations: 0.8976 MB / 0.9267 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/1.244, allocations: 78.78 kB / 0.9268 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/1.245, allocations: 0.6998 MB / 0.9275 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003728/1.245, allocations: 439.9 kB / 0.9279 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007601/1.246, allocations: 0.685 MB / 0.9285 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/1.248, allocations: 1.544 MB / 0.9301 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.248, allocations: 0.9688 kB / 0.9301 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.292e-06/1.248, allocations: 0 / 0.9301 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.679e-05/1.248, allocations: 2.625 kB / 0.9301 GB, free: 0.7617 MB / 0.6856 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.002112/1.25, allocations: 1.633 MB / 0.9317 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.25, allocations: 10.16 kB / 0.9317 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/1.25, allocations: 124.4 kB / 0.9318 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000611/1.251, allocations: 199.8 kB / 0.932 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/1.253, allocations: 0.9032 MB / 0.9329 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/1.253, allocations: 125.5 kB / 0.933 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/1.253, allocations: 83.5 kB / 0.9331 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/1.254, allocations: 0.9199 MB / 0.934 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/1.254, allocations: 6.141 kB / 0.934 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/1.254, allocations: 37.41 kB / 0.934 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/1.254, allocations: 24.91 kB / 0.934 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/1.255, allocations: 0.5045 MB / 0.9345 GB, free: 15.02 MB / 0.7012 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.004459/1.26, allocations: 4.852 MB / 0.9392 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/1.26, allocations: 421.7 kB / 0.9396 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/1.261, allocations: 262.8 kB / 0.9399 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/1.261, allocations: 102.8 kB / 0.94 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.261, allocations: 56.53 kB / 0.9401 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 2.896e-06/1.261, allocations: 0 / 0.9401 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.001805/1.263, allocations: 0.781 MB / 0.9408 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/1.263, allocations: 397 kB / 0.9412 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/1.264, allocations: 1.274 MB / 0.9424 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/1.264, allocations: 34.39 kB / 0.9425 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/1.265, allocations: 0.5603 MB / 0.943 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/1.265, allocations: 106.8 kB / 0.9431 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.265, allocations: 85.52 kB / 0.9432 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/1.265, allocations: 319.9 kB / 0.9435 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/1.265, allocations: 87.98 kB / 0.9436 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/1.266, allocations: 346.4 kB / 0.9439 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/1.266, allocations: 334.6 kB / 0.9442 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.266, allocations: 0 / 0.9442 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007596/1.267, allocations: 495.5 kB / 0.9447 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.267, allocations: 8.656 kB / 0.9447 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.267, allocations: 5 kB / 0.9447 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/1.267, allocations: 71.67 kB / 0.9448 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/1.267, allocations: 56.36 kB / 0.9448 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/1.27, allocations: 3.259 MB / 0.948 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/1.27, allocations: 94.53 kB / 0.9481 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/1.271, allocations: 21.34 kB / 0.9481 GB, free: 5.941 MB / 0.7012 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/1.271, allocations: 276.8 kB / 0.9484 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/1.271, allocations: 144.1 kB / 0.9485 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/1.271, allocations: 129.2 kB / 0.9487 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/1.271, allocations: 7.938 kB / 0.9487 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.984e-05/1.271, allocations: 5.375 kB / 0.9487 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/1.271, allocations: 5.406 kB / 0.9487 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/1.274, allocations: 2.507 MB / 0.9511 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/1.274, allocations: 8.484 kB / 0.9511 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/1.275, allocations: 55.72 kB / 0.9512 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/1.275, allocations: 70.59 kB / 0.9513 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.275, allocations: 15.31 kB / 0.9513 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/1.277, allocations: 3.268 MB / 0.9545 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.277, allocations: 12.31 kB / 0.9545 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/1.278, allocations: 0.6743 MB / 0.9551 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/1.279, allocations: 247.5 kB / 0.9554 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/1.279, allocations: 16.62 kB / 0.9554 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/1.279, allocations: 47.41 kB / 0.9554 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/1.279, allocations: 34.98 kB / 0.9555 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/1.279, allocations: 21.98 kB / 0.9555 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001008/1.28, allocations: 0.8795 MB / 0.9563 GB, free: 496 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/1.28, allocations: 6.25 kB / 0.9564 GB, free: 492 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009856/1.281, allocations: 263.3 kB / 0.9566 GB, free: 472 kB / 0.7012 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.001555/1.283, allocations: 1.319 MB / 0.9579 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000968/1.284, allocations: 0.5238 MB / 0.9584 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.284, allocations: 0 / 0.9584 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005385/1.285, allocations: 397.2 kB / 0.9588 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/1.288, allocations: 0.7431 MB / 0.9595 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.3, allocations: 8.208 MB / 0.9675 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/1.301, allocations: 1.138 MB / 0.9686 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009666/1.302, allocations: 243.9 kB / 0.9689 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/1.302, allocations: 440.7 kB / 0.9693 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/1.302, allocations: 0 / 0.9693 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07044/1.372, allocations: 34.79 MB / 1.003 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.32, allocations: 10.91 kB / 1.003 GB, free: 12.61 MB / 0.7481 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)