Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.0009227/0.0009227, 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.0009449/0.0009449, 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 1.073/1.073, 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.8116/0.8116, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 480 MB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.963e-05, allocations: 2.969 kB / 480 MB, free: 6.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001863/0.001893, allocations: 0.7174 MB / 480.8 MB, free: 6.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.003609, allocations: 1.187 MB / 481.9 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.003663, allocations: 0.875 kB / 481.9 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.003694, allocations: 7.922 kB / 481.9 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.003797, allocations: 17.53 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.004186, allocations: 123.6 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.004367, allocations: 129.9 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.004454, allocations: 11.94 kB / 482.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.004558, allocations: 68.09 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.323e-05/0.004651, allocations: 34.25 kB / 482.3 MB, free: 4.605 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.004672, allocations: 12 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.004732, allocations: 21.03 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.004751, allocations: 11.92 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.004792, allocations: 37.12 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.004924, allocations: 91.83 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004926, allocations: 0 / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004928, allocations: 0 / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.004931, allocations: 1.188 kB / 482.5 MB, free: 4.438 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000346/0.005277, allocations: 298.1 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.00531, allocations: 15.97 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.005342, allocations: 9.969 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.005476, allocations: 121.7 kB / 482.9 MB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.005493, allocations: 384 / 482.9 MB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.005512, allocations: 9.438 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.064e-05/0.005583, allocations: 46.95 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.005589, allocations: 192 / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.005595, allocations: 1.531 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.0056, allocations: 384 / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.005617, allocations: 7.938 kB / 483 MB, free: 3.879 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.005845, allocations: 185.6 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.001e-05/0.005885, allocations: 18.58 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.005898, allocations: 12.92 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-06/0.005903, allocations: 0.8438 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.76e-05/0.00598, allocations: 59.89 kB / 483.3 MB, free: 3.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.005981, allocations: 1.156 kB / 483.3 MB, free: 3.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001129/0.006094, allocations: 55.95 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.00613, allocations: 55.41 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.303e-05/0.006223, allocations: 123.3 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.006248, allocations: 34.48 kB / 483.5 MB, free: 3.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.006297, allocations: 92.08 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.006312, allocations: 4.828 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.006376, allocations: 41.67 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.006516, allocations: 310.8 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.00657, allocations: 54.75 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.792e-05/0.006618, allocations: 64.25 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.287e-05/0.00668, allocations: 80.88 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.006684, allocations: 4.531 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001228/0.006807, allocations: 149.7 kB / 484.3 MB, free: 2.418 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.006833, allocations: 42.2 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006837, allocations: 0.5625 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.006852, allocations: 7.938 kB / 484.4 MB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.345e-05/0.006895, allocations: 4.609 kB / 484.4 MB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.0069, allocations: 8.812 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.007, allocations: 15.98 kB / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.007012, allocations: 4.531 kB / 484.4 MB, free: 2.332 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 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.757e-05/0.00708, allocations: 119.5 kB / 484.5 MB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.007092, allocations: 7.984 kB / 484.5 MB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.007113, allocations: 4 kB / 484.5 MB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.007117, allocations: 3.938 kB / 484.5 MB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.007119, allocations: 0.9062 kB / 484.5 MB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007122, allocations: 4 kB / 484.5 MB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.83e-05/0.0072, allocations: 78.41 kB / 484.6 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007201, allocations: 0.625 kB / 484.6 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.007212, allocations: 0 / 484.6 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.007214, allocations: 2.344 kB / 484.6 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.007222, allocations: 7.984 kB / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.007223, allocations: 0 / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007223, allocations: 0 / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.324e-05/0.007307, allocations: 73 kB / 484.7 MB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.007318, allocations: 7.938 kB / 484.7 MB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.007327, allocations: 3.984 kB / 484.7 MB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.508e-05/0.007342, allocations: 10.62 kB / 484.7 MB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.007364, allocations: 3.938 kB / 484.7 MB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.007366, allocations: 0 / 484.7 MB, free: 1.969 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.07e-05/0.007387, allocations: 20.84 kB / 484.7 MB, free: 1.945 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007387, allocations: 1.812 kB / 484.7 MB, free: 1.945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001249/0.007512, allocations: 19.94 kB / 484.8 MB, free: 1.926 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,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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 0.0001075/0.00762, allocations: 80.41 kB / 484.8 MB, free: 1.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.007767, allocations: 146.6 kB / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.007769, allocations: 1.219 kB / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.007787, allocations: 12.8 kB / 485 MB, free: 1.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.007922, allocations: 24.75 kB / 485 MB, free: 1.637 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.008184, allocations: 138.3 kB / 485.2 MB, free: 1.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.008215, allocations: 55.36 kB / 485.2 MB, free: 1.406 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.489e-05/0.00824, allocations: 8.484 kB / 485.2 MB, free: 1.398 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.008321, allocations: 76.14 kB / 485.3 MB, free: 1.324 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.008321, allocations: 0 / 485.3 MB, free: 1.324 MB / 442.7 MB Notification: Performance of Templates: time 0.003349/0.01167, allocations: 1.6 MB / 486.9 MB, free: 15.85 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7337588127702475]