Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001441/0.001441, 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.001653/0.001653, 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.544/1.544, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.225/1.225, allocations: 154.8 MB / 414.3 MB, free: 468 kB / 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 178] 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: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.615e-05/3.827e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6941/0.6942, allocations: 221.6 MB / 0.7363 GB, free: 44.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02576/0.7199, allocations: 20.47 MB / 0.7563 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.7221, allocations: 77.16 kB / 0.7564 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.7248, allocations: 0.9963 MB / 0.7573 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005/0.7298, allocations: 1.549 MB / 0.7589 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005625/0.7355, allocations: 2.073 MB / 0.7609 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00372/0.7392, allocations: 2.711 MB / 0.7635 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.7407, allocations: 1.002 MB / 0.7645 GB, free: 42.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.7444, allocations: 2.017 MB / 0.7665 GB, free: 41.44 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.7457, allocations: 0.7949 MB / 0.7673 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.7458, allocations: 110.9 kB / 0.7674 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.7487, allocations: 1.424 MB / 0.7688 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.7491, allocations: 395.4 kB / 0.7691 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005365/0.7496, allocations: 440.7 kB / 0.7695 GB, free: 40.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.7532, allocations: 2.334 MB / 0.7718 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7532, allocations: 0 / 0.7718 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7532, allocations: 0 / 0.7718 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.593e-05/0.7533, allocations: 4 kB / 0.7718 GB, free: 39.94 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.002148/0.7554, allocations: 1.435 MB / 0.7732 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.7555, allocations: 8.469 kB / 0.7732 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.7568, allocations: 344.3 kB / 0.7736 GB, free: 38.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.7583, allocations: 0.9439 MB / 0.7745 GB, free: 38.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.7585, allocations: 290 kB / 0.7748 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.7586, allocations: 87.78 kB / 0.7749 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.76, allocations: 0.9309 MB / 0.7758 GB, free: 37.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.76, allocations: 0 / 0.7758 GB, free: 37.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.7601, allocations: 36.12 kB / 0.7758 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.7601, allocations: 22.97 kB / 0.7758 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009855/0.7611, allocations: 0.6305 MB / 0.7764 GB, free: 37.39 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.003529/0.7646, allocations: 2.677 MB / 0.779 GB, free: 35.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.765, allocations: 183.6 kB / 0.7792 GB, free: 35.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.7652, allocations: 146.2 kB / 0.7794 GB, free: 35.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005582/0.7657, allocations: 130.1 kB / 0.7795 GB, free: 35.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.7658, allocations: 38.19 kB / 0.7795 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/0.7658, allocations: 0 / 0.7795 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.001024/0.7668, allocations: 448.8 kB / 0.78 GB, free: 35.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.7668, allocations: 54.88 kB / 0.78 GB, free: 35.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.7676, allocations: 0.7043 MB / 0.7807 GB, free: 35.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.7676, allocations: 39.48 kB / 0.7807 GB, free: 34.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.768, allocations: 0.5517 MB / 0.7813 GB, free: 34.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.768, allocations: 86.5 kB / 0.7814 GB, free: 34.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.7682, allocations: 98.09 kB / 0.7814 GB, free: 34.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7683, allocations: 378.4 kB / 0.7818 GB, free: 34.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.7685, allocations: 129.6 kB / 0.7819 GB, free: 34.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.7689, allocations: 0.7299 MB / 0.7826 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.7694, allocations: 469 kB / 0.7831 GB, free: 32.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7694, allocations: 6.375 kB / 0.7831 GB, free: 32.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000785/0.7702, allocations: 0.526 MB / 0.7836 GB, free: 32.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.7702, allocations: 7.5 kB / 0.7836 GB, free: 32.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.7702, allocations: 6.594 kB / 0.7836 GB, free: 32.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.7702, allocations: 7.219 kB / 0.7836 GB, free: 32.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.7706, allocations: 90.23 kB / 0.7837 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.7706, allocations: 14.89 kB / 0.7837 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.7711, allocations: 54.52 kB / 0.7838 GB, free: 32.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.7711, allocations: 26.84 kB / 0.7838 GB, free: 32.68 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.0003286/0.7715, allocations: 294.1 kB / 0.7841 GB, free: 32.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.7716, allocations: 78.91 kB / 0.7842 GB, free: 32.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006112/0.7722, allocations: 402.8 kB / 0.7845 GB, free: 32.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.7722, allocations: 2.719 kB / 0.7845 GB, free: 32.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7722, allocations: 4 kB / 0.7846 GB, free: 32.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7722, allocations: 3 kB / 0.7846 GB, free: 32.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.7739, allocations: 1.339 MB / 0.7859 GB, free: 31.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.7739, allocations: 2.188 kB / 0.7859 GB, free: 31.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.7741, allocations: 44.52 kB / 0.7859 GB, free: 31.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.7741, allocations: 8.188 kB / 0.7859 GB, free: 31.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.7741, allocations: 13.88 kB / 0.7859 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.7741, allocations: 8.625 kB / 0.7859 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7742, allocations: 5.062 kB / 0.7859 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.7747, allocations: 0.5596 MB / 0.7865 GB, free: 31.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.7749, allocations: 119 kB / 0.7866 GB, free: 31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.858e-05/0.7749, allocations: 9.438 kB / 0.7866 GB, free: 30.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.7752, allocations: 5.469 kB / 0.7866 GB, free: 30.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.7753, allocations: 30.14 kB / 0.7866 GB, free: 30.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.7753, allocations: 19.17 kB / 0.7867 GB, free: 30.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005463/0.7759, allocations: 495.7 kB / 0.7871 GB, free: 30.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.7759, allocations: 0 / 0.7871 GB, free: 30.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001055/0.7769, allocations: 334.3 kB / 0.7875 GB, free: 30.67 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.0004969/0.7774, allocations: 313.2 kB / 0.7878 GB, free: 30.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005855/0.778, allocations: 332.5 kB / 0.7881 GB, free: 30.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.778, allocations: 2.812 kB / 0.7881 GB, free: 30.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.7782, allocations: 138.1 kB / 0.7882 GB, free: 30.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.7795, allocations: 287.5 kB / 0.7885 GB, free: 30.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.7816, allocations: 1.563 MB / 0.79 GB, free: 29.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.782, allocations: 486 kB / 0.7905 GB, free: 29.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004816/0.7825, allocations: 152.1 kB / 0.7906 GB, free: 29.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.7826, allocations: 51.94 kB / 0.7907 GB, free: 29.16 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/0.7826, allocations: 0 / 0.7907 GB, free: 29.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.02116/0.8037, allocations: 12.03 MB / 0.8024 GB, free: 27.29 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.048443239997141]