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.001467/0.001467, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 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.002313/0.002313, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.518/1.518, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.252/1.252, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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 178] 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 2.414e-06/2.414e-06, allocations: 0 / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.445e-05, allocations: 5.266 kB / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.68/0.6801, allocations: 221.6 MB / 0.7361 GB, free: 45.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03137/0.7114, allocations: 20.47 MB / 0.7561 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.7139, allocations: 78.38 kB / 0.7561 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.717, allocations: 0.9962 MB / 0.7571 GB, free: 44.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004693/0.7217, allocations: 1.557 MB / 0.7586 GB, free: 44.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005798/0.7275, allocations: 2.068 MB / 0.7606 GB, free: 43.85 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004137/0.7316, allocations: 2.726 MB / 0.7633 GB, free: 42.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.7339, allocations: 0.9883 MB / 0.7643 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00511/0.739, allocations: 2.01 MB / 0.7662 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.7408, allocations: 0.8135 MB / 0.767 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003985/0.7412, allocations: 107 kB / 0.7671 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/0.7448, allocations: 1.415 MB / 0.7685 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000648/0.7454, allocations: 402.2 kB / 0.7689 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.747, allocations: 435.1 kB / 0.7693 GB, free: 40.72 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00566/0.7527, allocations: 2.342 MB / 0.7716 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7527, allocations: 4 kB / 0.7716 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7527, allocations: 0 / 0.7716 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.633e-05/0.7528, allocations: 0 / 0.7716 GB, free: 40.07 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003487/0.7563, allocations: 1.427 MB / 0.773 GB, free: 39.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.7563, allocations: 8.875 kB / 0.773 GB, free: 39.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.7579, allocations: 346.4 kB / 0.7733 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.7597, allocations: 0.932 MB / 0.7742 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.7599, allocations: 296.9 kB / 0.7745 GB, free: 38.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.7601, allocations: 93.28 kB / 0.7746 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.7618, allocations: 0.9283 MB / 0.7755 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.7619, allocations: 0 / 0.7755 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.762, allocations: 36.22 kB / 0.7756 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.762, allocations: 22.5 kB / 0.7756 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.7633, allocations: 0.6274 MB / 0.7762 GB, free: 37.52 MB / 0.6355 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.005037/0.7683, allocations: 2.684 MB / 0.7788 GB, free: 35.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.7688, allocations: 182.5 kB / 0.779 GB, free: 35.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.769, allocations: 135.9 kB / 0.7791 GB, free: 35.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/0.7697, allocations: 131.3 kB / 0.7792 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.7697, allocations: 34.03 kB / 0.7793 GB, free: 35.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 1.874e-06/0.7697, allocations: 0 / 0.7793 GB, free: 35.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.00132/0.771, allocations: 453.7 kB / 0.7797 GB, free: 35.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.7711, allocations: 62.66 kB / 0.7798 GB, free: 35.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.7721, allocations: 0.7014 MB / 0.7805 GB, free: 35.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.7722, allocations: 33.08 kB / 0.7805 GB, free: 35.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.7725, allocations: 0.5534 MB / 0.781 GB, free: 34.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.7726, allocations: 88.72 kB / 0.7811 GB, free: 34.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.7728, allocations: 97.97 kB / 0.7812 GB, free: 34.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7729, allocations: 376 kB / 0.7816 GB, free: 34.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.7732, allocations: 135.7 kB / 0.7817 GB, free: 34.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.7737, allocations: 0.7255 MB / 0.7824 GB, free: 33.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.7742, allocations: 472.8 kB / 0.7829 GB, free: 33.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.7743, allocations: 0 / 0.7829 GB, free: 33.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009539/0.7752, allocations: 0.5373 MB / 0.7834 GB, free: 32.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.7752, allocations: 7.594 kB / 0.7834 GB, free: 32.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.7752, allocations: 7.188 kB / 0.7834 GB, free: 32.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.7753, allocations: 7.625 kB / 0.7834 GB, free: 32.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.7756, allocations: 98.06 kB / 0.7835 GB, free: 32.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.7756, allocations: 13.89 kB / 0.7835 GB, free: 32.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/0.7762, allocations: 46.83 kB / 0.7836 GB, free: 32.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.7762, allocations: 20.31 kB / 0.7836 GB, free: 32.81 MB / 0.6355 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.0003447/0.7766, allocations: 292.3 kB / 0.7838 GB, free: 32.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.7767, allocations: 82.88 kB / 0.7839 GB, free: 32.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006335/0.7773, allocations: 407.9 kB / 0.7843 GB, free: 32.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.7774, allocations: 9.469 kB / 0.7843 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7774, allocations: 0 / 0.7843 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7774, allocations: 0 / 0.7843 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.7794, allocations: 1.337 MB / 0.7856 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.7794, allocations: 9.75 kB / 0.7856 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.7796, allocations: 39.5 kB / 0.7857 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.7796, allocations: 4.969 kB / 0.7857 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.7796, allocations: 10.62 kB / 0.7857 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.7796, allocations: 5.188 kB / 0.7857 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.7796, allocations: 8.656 kB / 0.7857 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006747/0.7803, allocations: 0.5619 MB / 0.7863 GB, free: 31.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.7806, allocations: 113.1 kB / 0.7864 GB, free: 31.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.7807, allocations: 11.69 kB / 0.7864 GB, free: 31.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.781, allocations: 9.188 kB / 0.7864 GB, free: 31.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.7811, allocations: 31 kB / 0.7864 GB, free: 31.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.7811, allocations: 14.33 kB / 0.7864 GB, free: 31.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006204/0.7817, allocations: 496.3 kB / 0.7869 GB, free: 30.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.7817, allocations: 0 / 0.7869 GB, free: 30.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001116/0.7829, allocations: 333.8 kB / 0.7872 GB, free: 30.81 MB / 0.6355 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.0005843/0.7834, allocations: 307.3 kB / 0.7875 GB, free: 30.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006041/0.7841, allocations: 334.7 kB / 0.7878 GB, free: 30.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.7841, allocations: 1.375 kB / 0.7878 GB, free: 30.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.7842, allocations: 145.2 kB / 0.788 GB, free: 30.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.7856, allocations: 291.7 kB / 0.7882 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.7882, allocations: 1.565 MB / 0.7898 GB, free: 29.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.7888, allocations: 479.9 kB / 0.7902 GB, free: 29.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005738/0.7894, allocations: 153.4 kB / 0.7904 GB, free: 29.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.7896, allocations: 54.19 kB / 0.7904 GB, free: 29.29 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.7896, allocations: 0 / 0.7904 GB, free: 29.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.02184/0.8114, allocations: 12.03 MB / 0.8022 GB, free: 27.41 MB / 0.6355 GB " [Timeout remaining time 659] 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: 7.1303873270517215]