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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007504/0.0007504, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000816/0.000816, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9591/0.9591, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7775/0.7775, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009989/0.0009989, allocations: 66.02 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4667, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.1852/0.6519, allocations: 215 MB / 1.028 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.6646, allocations: 12.58 MB / 1.04 GB, free: 1.352 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.6666, allocations: 91.19 kB / 1.04 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.6697, allocations: 0.9549 MB / 1.041 GB, free: 308 kB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.6739, allocations: 1.858 MB / 1.043 GB, free: 14.44 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.6765, allocations: 1.336 MB / 1.044 GB, free: 13.12 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003725/0.6803, allocations: 3.293 MB / 1.047 GB, free: 9.812 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.6815, allocations: 0.8408 MB / 1.048 GB, free: 8.938 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00719/0.6887, allocations: 4.305 MB / 1.052 GB, free: 4.617 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.69, allocations: 0.8864 MB / 1.053 GB, free: 3.727 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.6901, allocations: 80 kB / 1.053 GB, free: 3.648 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009754/0.6911, allocations: 0.5882 MB / 1.054 GB, free: 3.059 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.6914, allocations: 458.4 kB / 1.054 GB, free: 2.609 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004595/0.6918, allocations: 0.5714 MB / 1.055 GB, free: 2.035 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.6936, allocations: 1.544 MB / 1.056 GB, free: 496 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6936, allocations: 0 / 1.056 GB, free: 496 kB / 0.823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6936, allocations: 0 / 1.056 GB, free: 496 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.6937, allocations: 0 / 1.056 GB, free: 496 kB / 0.823 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.001529/0.6952, allocations: 1.609 MB / 1.058 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.6952, allocations: 12.03 kB / 1.058 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.6953, allocations: 130.7 kB / 1.058 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004648/0.6958, allocations: 207 kB / 1.058 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.6969, allocations: 0.8539 MB / 1.059 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.697, allocations: 176.8 kB / 1.059 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.6971, allocations: 80 kB / 1.059 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.6982, allocations: 1.018 MB / 1.06 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.6982, allocations: 7.938 kB / 1.06 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.6982, allocations: 32 kB / 1.06 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.6982, allocations: 20 kB / 1.06 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.6988, allocations: 0.5146 MB / 1.061 GB, free: 11.61 MB / 0.8386 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.003244/0.7021, allocations: 3.975 MB / 1.065 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.7025, allocations: 416.6 kB / 1.065 GB, free: 6.949 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.7027, allocations: 251.8 kB / 1.066 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.7028, allocations: 31.92 kB / 1.066 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.7028, allocations: 50.5 kB / 1.066 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.7028, allocations: 0 / 1.066 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31): time 0.001072/0.7039, allocations: 0.6401 MB / 1.066 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.704, allocations: 401.5 kB / 1.067 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.7051, allocations: 1.284 MB / 1.068 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.7051, allocations: 37.7 kB / 1.068 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.7054, allocations: 0.5617 MB / 1.068 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-05/0.7055, allocations: 115 kB / 1.069 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.7056, allocations: 85.64 kB / 1.069 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003427/0.7059, allocations: 321.9 kB / 1.069 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.706, allocations: 91.94 kB / 1.069 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.7065, allocations: 0.9907 MB / 1.07 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.7068, allocations: 320.6 kB / 1.07 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.7068, allocations: 7.938 kB / 1.07 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005185/0.7073, allocations: 0.4905 MB / 1.071 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.7073, allocations: 11.98 kB / 1.071 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7073, allocations: 4 kB / 1.071 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.7075, allocations: 69.67 kB / 1.071 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.7076, allocations: 55.91 kB / 1.071 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.7092, allocations: 3.036 MB / 1.074 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.7096, allocations: 103.6 kB / 1.074 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.7097, allocations: 27.86 kB / 1.074 GB, free: 13.26 MB / 0.8542 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.000284/0.7099, allocations: 278.3 kB / 1.074 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.7102, allocations: 147.1 kB / 1.074 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.195e-05/0.7102, allocations: 128.2 kB / 1.075 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7102, allocations: 7.938 kB / 1.075 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.7103, allocations: 4 kB / 1.075 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7103, allocations: 7.984 kB / 1.075 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.7125, allocations: 2.403 MB / 1.077 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7125, allocations: 8 kB / 1.077 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.7125, allocations: 47.86 kB / 1.077 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.7127, allocations: 69.67 kB / 1.077 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.7127, allocations: 16.34 kB / 1.077 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.7141, allocations: 3.043 MB / 1.08 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7141, allocations: 11.94 kB / 1.08 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.7146, allocations: 0.6777 MB / 1.081 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.7148, allocations: 179 kB / 1.081 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.7149, allocations: 12 kB / 1.081 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.7152, allocations: 47.94 kB / 1.081 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.7153, allocations: 43.95 kB / 1.081 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.7153, allocations: 16 kB / 1.081 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007645/0.7161, allocations: 0.8927 MB / 1.082 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.7161, allocations: 0 / 1.082 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006618/0.7168, allocations: 255.8 kB / 1.082 GB, free: 4.52 MB / 0.8542 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.001157/0.7179, allocations: 1.33 MB / 1.083 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006091/0.7185, allocations: 0.5125 MB / 1.084 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7185, allocations: 4 kB / 1.084 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.7188, allocations: 402.2 kB / 1.084 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.7206, allocations: 0.7476 MB / 1.085 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007589/0.7282, allocations: 8.296 MB / 1.093 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.7286, allocations: 0.5613 MB / 1.094 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006969/0.7293, allocations: 246.7 kB / 1.094 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.7296, allocations: 447.2 kB / 1.094 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of SimCode: time 1.713e-06/0.7296, allocations: 4 kB / 1.094 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05588/0.7855, allocations: 38.28 MB / 1.132 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/8.354, allocations: 7.891 kB / 1.132 GB, free: 1.867 MB / 0.9011 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.36607971508056] Failed to read output from testmodel.py, exit status != 0: 8.452092230785638 8.462296538 7.766064722 Calling exit ...