Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.0009978/0.0009978, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001172/0.001172, allocations: 181 kB / 23.36 MB, free: 1.133 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.9748/0.9748, allocations: 177.1 MB / 203.8 MB, free: 5.469 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-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 0.7899/0.7899, allocations: 154.6 MB / 414.9 MB, free: 0.4922 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.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.316e-05, allocations: 9.359 kB / 480 MB, free: 6.898 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00127/0.001294, allocations: 0.5838 MB / 480.6 MB, free: 6.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.002452, allocations: 1.17 MB / 481.7 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.002485, allocations: 0 / 481.7 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.002509, allocations: 2.094 kB / 481.7 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.002575, allocations: 10.89 kB / 481.7 MB, free: 5.156 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.002951, allocations: 115.6 kB / 481.8 MB, free: 5.043 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.003074, allocations: 91.47 kB / 481.9 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.326e-05/0.003137, allocations: 11.97 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.003217, allocations: 46.16 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.00329, allocations: 21.45 kB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.003307, allocations: 8 kB / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.465e-05/0.003362, allocations: 24.91 kB / 482 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.003378, allocations: 5.75 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.003409, allocations: 24.75 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.003522, allocations: 77.7 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003523, allocations: 1.281 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003525, allocations: 0 / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.003528, allocations: 0 / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002668/0.003794, allocations: 275 kB / 482.4 MB, free: 4.457 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.003821, allocations: 12.66 kB / 482.4 MB, free: 4.445 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.003847, allocations: 9.578 kB / 482.4 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.635e-05/0.003913, allocations: 109.7 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.003922, allocations: 1.25 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.003939, allocations: 8.375 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.016e-05/0.003999, allocations: 61.66 kB / 482.6 MB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.004004, allocations: 4.188 kB / 482.6 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-06/0.004009, allocations: 384 / 482.6 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.004013, allocations: 0.9062 kB / 482.6 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.594e-06/0.00402, allocations: 4.969 kB / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.0042, allocations: 152.9 kB / 482.8 MB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.19e-05/0.004231, allocations: 22.52 kB / 482.8 MB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-06/0.004239, allocations: 6.016 kB / 482.8 MB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-06/0.004242, allocations: 0 / 482.8 MB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.553e-05/0.004318, allocations: 91.08 kB / 482.9 MB, free: 3.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.004319, allocations: 1.312 kB / 482.9 MB, free: 3.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 9.21e-05/0.004411, allocations: 57.55 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.004436, allocations: 51.41 kB / 483 MB, free: 3.785 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.00449, allocations: 114.6 kB / 483.1 MB, free: 3.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.004507, allocations: 34.8 kB / 483.2 MB, free: 3.621 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.004535, allocations: 80.14 kB / 483.2 MB, free: 3.539 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.875e-06/0.004543, allocations: 7.953 kB / 483.2 MB, free: 3.531 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.00458, allocations: 26.22 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.004656, allocations: 314.8 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.004694, allocations: 46.34 kB / 483.6 MB, free: 3.133 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.485e-05/0.004739, allocations: 77.42 kB / 483.7 MB, free: 3.047 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.311e-05/0.004792, allocations: 72.2 kB / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004794, allocations: 1.672 kB / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001119/0.004906, allocations: 145.9 kB / 483.9 MB, free: 2.801 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.004933, allocations: 33.7 kB / 483.9 MB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.004937, allocations: 0 / 483.9 MB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.004946, allocations: 4.844 kB / 483.9 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.461e-05/0.004961, allocations: 8.312 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.004964, allocations: 4.609 kB / 484 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-05/0.005056, allocations: 21.92 kB / 484 MB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.005068, allocations: 8.562 kB / 484 MB, free: 2.719 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.008e-05/0.005128, allocations: 118.4 kB / 484.1 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.005137, allocations: 7.984 kB / 484.1 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.005157, allocations: 8.625 kB / 484.1 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.00516, allocations: 4.531 kB / 484.1 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.005161, allocations: 0 / 484.1 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.005165, allocations: 0.8125 kB / 484.1 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.92e-05/0.005224, allocations: 73.88 kB / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005225, allocations: 1.781 kB / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-06/0.005227, allocations: 0 / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.005228, allocations: 0 / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-06/0.005231, allocations: 0.7656 kB / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005233, allocations: 0 / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.005235, allocations: 4.656 kB / 484.2 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.867e-05/0.005294, allocations: 69 kB / 484.3 MB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.0053, allocations: 4.984 kB / 484.3 MB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-06/0.005307, allocations: 0 / 484.3 MB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.005315, allocations: 4 kB / 484.3 MB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.005331, allocations: 6 kB / 484.3 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.005334, allocations: 3.938 kB / 484.3 MB, free: 2.375 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.269e-05/0.005347, allocations: 12.84 kB / 484.3 MB, free: 2.359 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005347, allocations: 2.156 kB / 484.3 MB, free: 2.359 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001178/0.005465, allocations: 16 kB / 484.3 MB, free: 2.344 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.827e-05/0.005563, allocations: 76.42 kB / 484.4 MB, free: 2.262 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.005688, allocations: 139.3 kB / 484.5 MB, free: 2.105 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.005691, allocations: 4.656 kB / 484.5 MB, free: 2.102 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.622e-05/0.005707, allocations: 16.84 kB / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.475e-05/0.005802, allocations: 11.09 kB / 484.6 MB, free: 2.074 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001874/0.005989, allocations: 116.4 kB / 484.7 MB, free: 1.938 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.674e-05/0.006016, allocations: 59.3 kB / 484.7 MB, free: 1.859 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.541e-05/0.006032, allocations: 0 / 484.7 MB, free: 1.859 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.006099, allocations: 64.12 kB / 484.8 MB, free: 1.797 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0061, allocations: 0.75 kB / 484.8 MB, free: 1.797 MB / 442.7 MB Notification: Performance of Templates: time 0.002619/0.008719, allocations: 1.291 MB / 486.1 MB, free: 0.5938 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.616047728806734]