Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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.0008081/0.0008081, 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.0008162/0.0008162, allocations: 169.9 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.9175/0.9175, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7233/0.7233, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.292e-05, allocations: 7.844 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3876/0.3877, allocations: 153 MB / 0.7675 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.3901, allocations: 1.775 MB / 0.7692 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004163/0.3905, allocations: 20.69 kB / 0.7692 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007952/0.3913, allocations: 223.1 kB / 0.7694 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.3932, allocations: 0.788 MB / 0.7702 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.3952, allocations: 0.9137 MB / 0.7711 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.3963, allocations: 0.8557 MB / 0.7719 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.3967, allocations: 226 kB / 0.7722 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.3979, allocations: 0.7051 MB / 0.7728 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.3982, allocations: 233.3 kB / 0.7731 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.3983, allocations: 26.94 kB / 0.7731 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.3998, allocations: 0.9036 MB / 0.774 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3999, allocations: 137.5 kB / 0.7741 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.4001, allocations: 143.1 kB / 0.7742 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.4015, allocations: 0.9178 MB / 0.7751 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4015, allocations: 0 / 0.7751 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4015, allocations: 0 / 0.7751 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.4016, allocations: 1.062 kB / 0.7751 GB, free: 0.8477 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001483/0.403, allocations: 0.7128 MB / 0.7758 GB, free: 352 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4031, allocations: 9.781 kB / 0.7758 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/0.4031, allocations: 67.77 kB / 0.7759 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/0.4037, allocations: 170.3 kB / 0.7761 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.4041, allocations: 300.1 kB / 0.7764 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.4042, allocations: 19.88 kB / 0.7764 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.4042, allocations: 26.56 kB / 0.7764 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.4048, allocations: 394.3 kB / 0.7768 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4048, allocations: 5.125 kB / 0.7768 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.4048, allocations: 11.19 kB / 0.7768 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.4048, allocations: 17.25 kB / 0.7768 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.4053, allocations: 345.1 kB / 0.7771 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.4066, allocations: 1.3 MB / 0.7784 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.407, allocations: 223 kB / 0.7786 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.4072, allocations: 137.8 kB / 0.7788 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.4074, allocations: 79.72 kB / 0.7788 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.4075, allocations: 32.84 kB / 0.7789 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.4075, allocations: 0 / 0.7789 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0006787/0.4081, allocations: 386.6 kB / 0.7792 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.4082, allocations: 53.78 kB / 0.7793 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.4085, allocations: 363.2 kB / 0.7796 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.4085, allocations: 31.27 kB / 0.7797 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4086, allocations: 196.6 kB / 0.7798 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.4087, allocations: 73.14 kB / 0.7799 GB, free: 14 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.295e-05/0.4088, allocations: 48.06 kB / 0.78 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4089, allocations: 346 kB / 0.7803 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.409, allocations: 97.47 kB / 0.7804 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.4092, allocations: 229.8 kB / 0.7806 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.4095, allocations: 245.9 kB / 0.7808 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4095, allocations: 5.656 kB / 0.7808 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003867/0.4099, allocations: 312.3 kB / 0.7811 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4099, allocations: 6.094 kB / 0.7811 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4099, allocations: 1.469 kB / 0.7811 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4099, allocations: 2.688 kB / 0.7811 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.4101, allocations: 53.94 kB / 0.7812 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4101, allocations: 6.812 kB / 0.7812 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.4102, allocations: 32.58 kB / 0.7812 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.4103, allocations: 12.12 kB / 0.7812 GB, free: 13.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.4104, allocations: 156.7 kB / 0.7814 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.4104, allocations: 43.23 kB / 0.7814 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.4109, allocations: 300.4 kB / 0.7817 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4109, allocations: 3.469 kB / 0.7817 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4109, allocations: 7.188 kB / 0.7817 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4109, allocations: 0 / 0.7817 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/0.4118, allocations: 0.8269 MB / 0.7825 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4119, allocations: 7.469 kB / 0.7826 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.412, allocations: 44.06 kB / 0.7826 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.412, allocations: 3.438 kB / 0.7826 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.412, allocations: 12.22 kB / 0.7826 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.412, allocations: 6.656 kB / 0.7826 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.412, allocations: 7.406 kB / 0.7826 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.4124, allocations: 444.4 kB / 0.783 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.4125, allocations: 63.09 kB / 0.7831 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.4126, allocations: 12.28 kB / 0.7831 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.4127, allocations: 15.52 kB / 0.7831 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.4127, allocations: 15.64 kB / 0.7831 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4128, allocations: 12.09 kB / 0.7832 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002086/0.413, allocations: 261.3 kB / 0.7834 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.413, allocations: 0 / 0.7834 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003799/0.4133, allocations: 99.14 kB / 0.7835 GB, free: 11.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008026/0.4141, allocations: 1.037 MB / 0.7845 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.4145, allocations: 238.5 kB / 0.7847 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4145, allocations: 0 / 0.7847 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.4147, allocations: 125.4 kB / 0.7849 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.4154, allocations: 220 kB / 0.7851 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.4186, allocations: 3.303 MB / 0.7883 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.4188, allocations: 196 kB / 0.7885 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.419, allocations: 83.48 kB / 0.7886 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.4192, allocations: 117.9 kB / 0.7887 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of SimCode: time 1.603e-06/0.4192, allocations: 0 / 0.7887 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.4458, allocations: 12.22 MB / 0.8006 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.233/7.679, allocations: 5.859 kB / 0.8006 GB, free: 3.93 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.455542955547571] Failed to read output from testmodel.py, exit status != 0: 7.767378233373165 7.782500421 7.377590351 Calling exit ...