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.001178/0.001178, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001051/0.001051, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9303/0.9303, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.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.7155/0.7155, allocations: 154.5 MB / 413.7 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.53e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.4485/0.4486, allocations: 214.5 MB / 0.8276 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.4613, allocations: 12.56 MB / 0.8398 GB, free: 208 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.463, allocations: 88.47 kB / 0.8399 GB, free: 156 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.4649, allocations: 0.9645 MB / 0.8409 GB, free: 15.36 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.4682, allocations: 1.916 MB / 0.8427 GB, free: 13.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.4709, allocations: 1.469 MB / 0.8442 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003142/0.4741, allocations: 3.276 MB / 0.8474 GB, free: 8.879 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008315/0.4749, allocations: 0.8382 MB / 0.8482 GB, free: 8.012 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006711/0.4816, allocations: 4.736 MB / 0.8528 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008052/0.4824, allocations: 0.7825 MB / 0.8536 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.44e-05/0.4825, allocations: 76 kB / 0.8536 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009051/0.4834, allocations: 0.5996 MB / 0.8542 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.4837, allocations: 477.6 kB / 0.8547 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.484, allocations: 482.7 kB / 0.8551 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.4852, allocations: 1.518 MB / 0.8566 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4852, allocations: 4 kB / 0.8566 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4852, allocations: 0 / 0.8566 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.4852, allocations: 4 kB / 0.8566 GB, free: 15.33 MB / 0.7136 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.001552/0.4868, allocations: 1.586 MB / 0.8582 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4868, allocations: 13.47 kB / 0.8582 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.4869, allocations: 130.7 kB / 0.8583 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.4873, allocations: 206.9 kB / 0.8585 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.4883, allocations: 0.8501 MB / 0.8594 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.4884, allocations: 172.8 kB / 0.8595 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.136e-05/0.4885, allocations: 84 kB / 0.8596 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/0.4894, allocations: 1.023 MB / 0.8606 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.4894, allocations: 4 kB / 0.8606 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.4895, allocations: 32 kB / 0.8606 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.4895, allocations: 20 kB / 0.8606 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.49, allocations: 0.5101 MB / 0.8611 GB, free: 10.48 MB / 0.7136 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.002733/0.4928, allocations: 3.971 MB / 0.865 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.4931, allocations: 415.8 kB / 0.8654 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.4934, allocations: 247.9 kB / 0.8657 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.985e-05/0.4935, allocations: 27.92 kB / 0.8657 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4935, allocations: 54.28 kB / 0.8657 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.464e-06/0.4935, allocations: 4 kB / 0.8657 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001043/0.4945, allocations: 0.6274 MB / 0.8664 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.4947, allocations: 405.8 kB / 0.8667 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.4957, allocations: 1.3 MB / 0.868 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.4957, allocations: 37.7 kB / 0.868 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.496, allocations: 0.5617 MB / 0.8686 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.4961, allocations: 113.3 kB / 0.8687 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.154e-05/0.4962, allocations: 85.64 kB / 0.8688 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.4963, allocations: 318 kB / 0.8691 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4964, allocations: 87.94 kB / 0.8692 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.4968, allocations: 0.9907 MB / 0.8701 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.4971, allocations: 332.5 kB / 0.8705 GB, free: 192 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4971, allocations: 0 / 0.8705 GB, free: 192 kB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005063/0.4976, allocations: 499.2 kB / 0.8709 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4977, allocations: 15.97 kB / 0.8709 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4977, allocations: 4 kB / 0.8709 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.4979, allocations: 69.67 kB / 0.871 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.498, allocations: 55.91 kB / 0.8711 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.4997, allocations: 3.034 MB / 0.874 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.5, allocations: 103.3 kB / 0.8741 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.5001, allocations: 23.98 kB / 0.8742 GB, free: 12.16 MB / 0.7292 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.0002518/0.5003, allocations: 270.8 kB / 0.8744 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.5005, allocations: 147 kB / 0.8746 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.397e-05/0.5006, allocations: 128.4 kB / 0.8747 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5006, allocations: 11.94 kB / 0.8747 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.5006, allocations: 4 kB / 0.8747 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.5006, allocations: 4 kB / 0.8747 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.5025, allocations: 2.415 MB / 0.8771 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5025, allocations: 12.12 kB / 0.8771 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.5026, allocations: 51.91 kB / 0.8771 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.5027, allocations: 65.67 kB / 0.8772 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.5027, allocations: 12 kB / 0.8772 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.5043, allocations: 3.044 MB / 0.8802 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5043, allocations: 7.938 kB / 0.8802 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.5049, allocations: 0.682 MB / 0.8808 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.5051, allocations: 178.9 kB / 0.881 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.5052, allocations: 12 kB / 0.881 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.5055, allocations: 39.95 kB / 0.8811 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.5056, allocations: 43.77 kB / 0.8811 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.5056, allocations: 19.98 kB / 0.8811 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007217/0.5063, allocations: 0.8927 MB / 0.882 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.5063, allocations: 0 / 0.882 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006168/0.5069, allocations: 259.8 kB / 0.8822 GB, free: 3.41 MB / 0.7292 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.0009614/0.5079, allocations: 1.314 MB / 0.8835 GB, free: 2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005509/0.5084, allocations: 0.5126 MB / 0.884 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5084, allocations: 0 / 0.884 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.5087, allocations: 399 kB / 0.8844 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.5105, allocations: 0.7417 MB / 0.8851 GB, free: 344 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007036/0.5175, allocations: 8.358 MB / 0.8933 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.5178, allocations: 0.5457 MB / 0.8938 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005058/0.5184, allocations: 250.7 kB / 0.8941 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.5187, allocations: 444.4 kB / 0.8945 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.5187, allocations: 0 / 0.8945 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04749/0.5662, allocations: 38.24 MB / 0.9318 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/8.846, allocations: 13.61 kB / 0.9318 GB, free: 1.047 MB / 0.7761 GB " [Timeout remaining time 651] (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.689783792942762] Failed to read output from testmodel.py, exit status != 0: 8.950313658453524 8.959906662 8.472013556 Calling exit ...