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.001655/0.001655, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.001887/0.001887, allocations: 167.8 kB / 22.29 MB, free: 3.516 MB / 13.93 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.477/1.477, allocations: 177.2 MB / 202.7 MB, free: 4.812 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-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 1.398/1.398, allocations: 154.7 MB / 413.8 MB, free: 3.133 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: "" <> 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 63.69 kB / 0.6181 GB, free: 1.086 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2168, allocations: 102 MB / 0.7177 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001915/0.2187, allocations: 0.6974 MB / 0.7184 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.2203, allocations: 1.151 MB / 0.7195 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.2203, allocations: 0 / 0.7195 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.2204, allocations: 3.938 kB / 0.7195 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.982e-05/0.2204, allocations: 19.86 kB / 0.7195 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.2209, allocations: 136.4 kB / 0.7196 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.2211, allocations: 123.8 kB / 0.7198 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2212, allocations: 16.27 kB / 0.7198 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2213, allocations: 63.91 kB / 0.7198 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.2214, allocations: 35.88 kB / 0.7199 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.2215, allocations: 12 kB / 0.7199 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.2215, allocations: 27.92 kB / 0.7199 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.2216, allocations: 11.94 kB / 0.7199 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.2216, allocations: 35.91 kB / 0.72 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.2219, allocations: 143.5 kB / 0.7201 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2219, allocations: 4 kB / 0.7201 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2219, allocations: 0 / 0.7201 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2219, allocations: 0 / 0.7201 GB, free: 8.746 MB / 0.6198 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.0006358/0.2225, allocations: 323.8 kB / 0.7204 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2225, allocations: 8.031 kB / 0.7204 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.2226, allocations: 30.75 kB / 0.7204 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.2226, allocations: 8.938 kB / 0.7205 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.2228, allocations: 122.4 kB / 0.7206 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.2228, allocations: 8.375 kB / 0.7206 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.2228, allocations: 8.312 kB / 0.7206 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2229, allocations: 42.25 kB / 0.7206 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2229, allocations: 7.938 kB / 0.7206 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2229, allocations: 0 / 0.7206 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2229, allocations: 0 / 0.7206 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.223, allocations: 16 kB / 0.7207 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.2235, allocations: 279.9 kB / 0.7209 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.762e-05/0.2235, allocations: 26.52 kB / 0.7209 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.2236, allocations: 16.91 kB / 0.721 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.2236, allocations: 4 kB / 0.721 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.2237, allocations: 60.08 kB / 0.721 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2237, allocations: 4 kB / 0.721 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002264/0.224, allocations: 73.62 kB / 0.7211 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.224, allocations: 55.34 kB / 0.7211 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2241, allocations: 136.1 kB / 0.7213 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.2242, allocations: 29.64 kB / 0.7213 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.2242, allocations: 88.14 kB / 0.7214 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.2243, allocations: 11.94 kB / 0.7214 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.2243, allocations: 33.7 kB / 0.7214 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2245, allocations: 314.8 kB / 0.7217 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.2246, allocations: 73.67 kB / 0.7218 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.2247, allocations: 84.27 kB / 0.7219 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.2249, allocations: 96.2 kB / 0.722 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2249, allocations: 0 / 0.722 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003401/0.2252, allocations: 204.9 kB / 0.7222 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.2253, allocations: 39.89 kB / 0.7222 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2253, allocations: 0 / 0.7222 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2253, allocations: 4 kB / 0.7222 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.776e-05/0.2253, allocations: 0 / 0.7222 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2253, allocations: 4 kB / 0.7222 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.2255, allocations: 32.02 kB / 0.7222 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.2256, allocations: 4 kB / 0.7223 GB, free: 6.289 MB / 0.6198 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 0.0001126/0.2257, allocations: 121.7 kB / 0.7224 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.2257, allocations: 11.89 kB / 0.7224 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.2257, allocations: 8.234 kB / 0.7224 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2257, allocations: 11.97 kB / 0.7224 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2257, allocations: 0 / 0.7224 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2257, allocations: 0 / 0.7224 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.2259, allocations: 140.8 kB / 0.7225 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2259, allocations: 8 kB / 0.7225 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.2259, allocations: 0 / 0.7225 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2259, allocations: 0 / 0.7225 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2259, allocations: 3.984 kB / 0.7225 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2259, allocations: 4 kB / 0.7225 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2259, allocations: 0 / 0.7225 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.2261, allocations: 97.02 kB / 0.7226 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.2261, allocations: 3.938 kB / 0.7226 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2261, allocations: 0 / 0.7226 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.2261, allocations: 3.984 kB / 0.7226 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.2261, allocations: 8 kB / 0.7227 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2261, allocations: 3.938 kB / 0.7227 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.578e-05/0.2262, allocations: 99.27 kB / 0.7228 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2262, allocations: 0 / 0.7228 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002142/0.2264, allocations: 19.94 kB / 0.7228 GB, free: 5.68 MB / 0.6198 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.0005079/0.2269, allocations: 0.6319 MB / 0.7234 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.2272, allocations: 157 kB / 0.7235 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2272, allocations: 0 / 0.7235 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.2273, allocations: 12.12 kB / 0.7236 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.2275, allocations: 15.98 kB / 0.7236 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.2294, allocations: 1.631 MB / 0.7252 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.396e-05/0.2295, allocations: 67.33 kB / 0.7252 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.2295, allocations: 4 kB / 0.7252 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.2295, allocations: 20.48 kB / 0.7252 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.2295, allocations: 4 kB / 0.7252 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.2624, allocations: 3.132 MB / 0.7283 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.56, allocations: 6.469 kB / 0.7283 GB, free: 15.95 MB / 0.6355 GB " [Timeout remaining time 648] (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: 15.859518840996316] Failed to read output from testmodel.py, exit status != 0: 11.664906878009788 11.697203995 11.469518644 Calling exit ...