Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.0007781/0.0007781, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007779/0.0007779, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.867/0.867, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.6942/0.6942, allocations: 154.6 MB / 414.5 MB, free: 0.8086 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: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.626e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4166/0.4166, allocations: 221.6 MB / 0.8358 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.4339, allocations: 20.47 MB / 0.8558 GB, free: 1.203 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.4358, allocations: 79.31 kB / 0.8559 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.4384, allocations: 0.9973 MB / 0.8568 GB, free: 124 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.4417, allocations: 1.551 MB / 0.8584 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.4455, allocations: 2.076 MB / 0.8604 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002987/0.4485, allocations: 2.713 MB / 0.863 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.4496, allocations: 0.9655 MB / 0.864 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.4526, allocations: 2.013 MB / 0.8659 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008651/0.4535, allocations: 0.7946 MB / 0.8667 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.4536, allocations: 108 kB / 0.8668 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.4557, allocations: 1.418 MB / 0.8682 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.4559, allocations: 402.6 kB / 0.8686 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.4563, allocations: 443 kB / 0.869 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.4587, allocations: 2.348 MB / 0.8713 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4587, allocations: 0 / 0.8713 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4587, allocations: 0 / 0.8713 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.4587, allocations: 0 / 0.8713 GB, free: 1.254 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001434/0.4601, allocations: 1.418 MB / 0.8727 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4602, allocations: 12.03 kB / 0.8727 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008709/0.461, allocations: 235 kB / 0.8729 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009802/0.462, allocations: 0.8674 MB / 0.8738 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.4622, allocations: 291.6 kB / 0.874 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.4622, allocations: 92 kB / 0.8741 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009379/0.4632, allocations: 0.9246 MB / 0.875 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.4632, allocations: 0 / 0.875 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.4632, allocations: 39.94 kB / 0.8751 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.4632, allocations: 27.94 kB / 0.8751 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007283/0.464, allocations: 0.6352 MB / 0.8757 GB, free: 12.58 MB / 0.7292 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.002535/0.4665, allocations: 2.618 MB / 0.8783 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.4668, allocations: 186.7 kB / 0.8785 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.4669, allocations: 132.9 kB / 0.8786 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.4672, allocations: 127.9 kB / 0.8787 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.4673, allocations: 39.44 kB / 0.8787 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.4673, allocations: 0 / 0.8787 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0006623/0.4679, allocations: 451.6 kB / 0.8792 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.468, allocations: 51.41 kB / 0.8792 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008883/0.4688, allocations: 0.7154 MB / 0.8799 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.4689, allocations: 29.7 kB / 0.8799 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.4691, allocations: 0.5503 MB / 0.8805 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.4692, allocations: 91.22 kB / 0.8806 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.4693, allocations: 94.14 kB / 0.8807 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4694, allocations: 374.8 kB / 0.881 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4695, allocations: 128.9 kB / 0.8811 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.4699, allocations: 0.734 MB / 0.8819 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.4703, allocations: 463.6 kB / 0.8823 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4703, allocations: 4 kB / 0.8823 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005487/0.4709, allocations: 0.5128 MB / 0.8828 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4709, allocations: 8 kB / 0.8828 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4709, allocations: 16 kB / 0.8828 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4709, allocations: 8 kB / 0.8828 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.4711, allocations: 88.39 kB / 0.8829 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4711, allocations: 15.88 kB / 0.8829 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.4714, allocations: 54.66 kB / 0.883 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.4714, allocations: 24 kB / 0.883 GB, free: 4.695 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0002861/0.4717, allocations: 297.5 kB / 0.8833 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.4718, allocations: 71.53 kB / 0.8834 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.4722, allocations: 404 kB / 0.8837 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4722, allocations: 4 kB / 0.8838 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4723, allocations: 0 / 0.8838 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4723, allocations: 3.938 kB / 0.8838 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.4735, allocations: 1.34 MB / 0.8851 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4735, allocations: 4 kB / 0.8851 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.4736, allocations: 43.92 kB / 0.8851 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4736, allocations: 4 kB / 0.8851 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4736, allocations: 12.55 kB / 0.8851 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.4736, allocations: 8 kB / 0.8851 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4736, allocations: 11.94 kB / 0.8851 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.474, allocations: 0.5333 MB / 0.8857 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.4742, allocations: 115.4 kB / 0.8858 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.4742, allocations: 12 kB / 0.8858 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4743, allocations: 4 kB / 0.8858 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.4744, allocations: 31.84 kB / 0.8858 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.4744, allocations: 16 kB / 0.8858 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003879/0.4748, allocations: 0.4911 MB / 0.8863 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.4748, allocations: 4 kB / 0.8863 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009989/0.4758, allocations: 330.9 kB / 0.8866 GB, free: 0.7969 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004176/0.4762, allocations: 314.6 kB / 0.8869 GB, free: 496 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.4766, allocations: 336.5 kB / 0.8873 GB, free: 160 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4766, allocations: 0 / 0.8873 GB, free: 160 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.4768, allocations: 140.1 kB / 0.8874 GB, free: 20 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.4775, allocations: 276.5 kB / 0.8877 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4791, allocations: 1.59 MB / 0.8892 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.4794, allocations: 487.8 kB / 0.8897 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.4795, allocations: 52.48 kB / 0.8897 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.4795, allocations: 4 kB / 0.8897 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of Templates: time 0.01364/0.4932, allocations: 14.37 MB / 0.9038 GB, free: 15.34 MB / 0.7605 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.346289315260947] Failed to read output from testmodel.py, exit status != 0: 0.4996400270611048 0.50909282 0.048673895 Calling exit ...