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.0008382/0.0008382, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 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.0008043/0.0008043, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9083/0.9083, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.6944/0.6944, allocations: 154.6 MB / 413.8 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.529e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001181/0.001196, allocations: 0.6949 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.002185, allocations: 1.159 MB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.002223, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.002247, allocations: 3.938 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.002317, allocations: 15.86 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.002674, allocations: 136.5 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.00282, allocations: 123.8 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.424e-05/0.002905, allocations: 15.98 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.564e-05/0.00299, allocations: 63.89 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.036e-05/0.003071, allocations: 39.88 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.003091, allocations: 12 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.061e-05/0.003141, allocations: 23.98 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.00316, allocations: 7.938 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.003202, allocations: 31.98 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.003358, allocations: 155.6 kB / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.00336, allocations: 0 / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.21e-07/0.003361, allocations: 0 / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003365, allocations: 0 / 0.6206 GB, free: 11.16 MB / 0.5886 GB 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.0003855/0.003751, allocations: 330 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.003788, allocations: 8.031 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.279e-05/0.00381, allocations: 30.75 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.003846, allocations: 16.88 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.003933, allocations: 121.7 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.003948, allocations: 4.375 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.003961, allocations: 4.375 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.437e-05/0.004036, allocations: 42.25 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.004042, allocations: 192 / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.004049, allocations: 384 / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.004054, allocations: 4.125 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.004088, allocations: 16 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.00439, allocations: 283.8 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.925e-05/0.00444, allocations: 26.58 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.004458, allocations: 20.89 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.004469, allocations: 7.938 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.926e-05/0.004568, allocations: 63.39 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.004569, allocations: 7.875 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001604/0.004729, allocations: 77.58 kB / 0.6216 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.00476, allocations: 55.41 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.004836, allocations: 129.8 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.004854, allocations: 29.7 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.004892, allocations: 88.14 kB / 0.6219 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.004905, allocations: 11.92 kB / 0.6219 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.004946, allocations: 29.7 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.005017, allocations: 314.8 kB / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.005087, allocations: 69.67 kB / 0.6223 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.005155, allocations: 88.27 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.616e-05/0.005231, allocations: 92.2 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005233, allocations: 4 kB / 0.6224 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001794/0.005413, allocations: 204.9 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.005437, allocations: 33.7 kB / 0.6227 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005442, allocations: 0 / 0.6227 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.005454, allocations: 4 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.005498, allocations: 4 kB / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.005503, allocations: 4 kB / 0.6227 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.005608, allocations: 27.91 kB / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.005623, allocations: 12.05 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB 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.169e-05/0.005684, allocations: 114.8 kB / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-06/0.005692, allocations: 11.89 kB / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.005711, allocations: 4 kB / 0.6228 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005713, allocations: 4 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.005718, allocations: 8.047 kB / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005721, allocations: 0 / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.005898, allocations: 132.8 kB / 0.623 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.005899, allocations: 7.938 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-06/0.005906, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005908, allocations: 4 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.005915, allocations: 7.984 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.005917, allocations: 4 kB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.005917, allocations: 3.938 kB / 0.623 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.427e-05/0.005991, allocations: 89.02 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.006002, allocations: 11.83 kB / 0.6231 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.006012, allocations: 4 kB / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.006024, allocations: 7.984 kB / 0.6231 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.006043, allocations: 3.938 kB / 0.6231 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.006047, allocations: 0 / 0.6231 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.006087, allocations: 103.1 kB / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006087, allocations: 4 kB / 0.6232 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001444/0.006231, allocations: 16 kB / 0.6232 GB, free: 8.086 MB / 0.5886 GB 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.0002495/0.006481, allocations: 0.6241 MB / 0.6238 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.00665, allocations: 157.3 kB / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006651, allocations: 0 / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/0.006672, allocations: 12 kB / 0.624 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.006827, allocations: 20.3 kB / 0.624 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.007892, allocations: 1.632 MB / 0.6256 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.007926, allocations: 67.34 kB / 0.6257 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.007946, allocations: 4 kB / 0.6257 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.007978, allocations: 20.48 kB / 0.6257 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.007978, allocations: 0 / 0.6257 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.02305, allocations: 3.128 MB / 0.6288 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.576/6.599, allocations: 15.44 kB / 0.6288 GB, free: 2.402 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.199968880973756] Failed to read output from testmodel.py, exit status != 0: 6.680419481359422 6.693793944 6.686082907 Calling exit ...