Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0008692/0.0008692, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001005/0.001005, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.09/1.09, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.8256/0.8256, allocations: 203.5 MB / 0.5039 GB, free: 10.77 MB / 410.7 MB " [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.Integers.Sources.Validation.Pulse,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_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.0009173/0.0009173, allocations: 62.91 kB / 0.7178 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5986, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002028/0.6006, allocations: 0.9107 MB / 0.8183 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.6022, allocations: 1.447 MB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.6022, allocations: 2.344 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/0.6023, allocations: 20.92 kB / 0.8197 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.6024, allocations: 60.38 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.6032, allocations: 442.3 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005399/0.6038, allocations: 490.4 kB / 0.8207 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.6039, allocations: 37.33 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.6042, allocations: 182.7 kB / 0.8209 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.6044, allocations: 158.2 kB / 0.821 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.6045, allocations: 48.22 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.6046, allocations: 61.94 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.6047, allocations: 29.75 kB / 0.8212 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.6049, allocations: 158.2 kB / 0.8213 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005703/0.6055, allocations: 0.4919 MB / 0.8218 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6055, allocations: 0 / 0.8218 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6055, allocations: 0 / 0.8218 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.6055, allocations: 4 kB / 0.8218 GB, free: 14.64 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007204/0.6062, allocations: 0.5592 MB / 0.8223 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6062, allocations: 12.81 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.6063, allocations: 40.69 kB / 0.8224 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.6063, allocations: 28.39 kB / 0.8224 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.6065, allocations: 169.7 kB / 0.8226 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.6065, allocations: 14.31 kB / 0.8226 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.6066, allocations: 25.61 kB / 0.8226 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.6067, allocations: 119.3 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6068, allocations: 4.688 kB / 0.8227 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.6068, allocations: 4.891 kB / 0.8227 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6068, allocations: 5 kB / 0.8227 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.551e-05/0.6069, allocations: 56.28 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.6077, allocations: 0.7551 MB / 0.8235 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.6078, allocations: 110.8 kB / 0.8236 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.6078, allocations: 53.27 kB / 0.8237 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.6079, allocations: 1.094 kB / 0.8237 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.6081, allocations: 181.7 kB / 0.8239 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.6081, allocations: 0 / 0.8239 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003692/0.6085, allocations: 231.6 kB / 0.8241 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.6085, allocations: 133.5 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.6088, allocations: 248.5 kB / 0.8245 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.6088, allocations: 38.16 kB / 0.8245 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.6089, allocations: 123.7 kB / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.6089, allocations: 40.36 kB / 0.8246 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.6091, allocations: 93.11 kB / 0.8247 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6092, allocations: 334.8 kB / 0.8251 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.6095, allocations: 280.5 kB / 0.8253 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.6099, allocations: 347.3 kB / 0.8257 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.6102, allocations: 366.9 kB / 0.826 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6102, allocations: 1.156 kB / 0.826 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008297/0.6111, allocations: 0.6968 MB / 0.8267 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.991e-05/0.6112, allocations: 135.5 kB / 0.8268 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6112, allocations: 6.719 kB / 0.8268 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6112, allocations: 4.609 kB / 0.8268 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.6113, allocations: 11.19 kB / 0.8268 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.6113, allocations: 7.844 kB / 0.8268 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.6117, allocations: 117.4 kB / 0.827 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.6117, allocations: 27.77 kB / 0.827 GB, free: 10.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001335/0.6119, allocations: 140.6 kB / 0.8271 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.6119, allocations: 30.41 kB / 0.8271 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.612, allocations: 22.34 kB / 0.8272 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.612, allocations: 2.688 kB / 0.8272 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.612, allocations: 1.406 kB / 0.8272 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.612, allocations: 10.81 kB / 0.8272 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.6122, allocations: 212.2 kB / 0.8274 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6122, allocations: 1.844 kB / 0.8274 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.6122, allocations: 8.656 kB / 0.8274 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6122, allocations: 2.469 kB / 0.8274 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6122, allocations: 4.672 kB / 0.8274 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6122, allocations: 5.094 kB / 0.8274 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6123, allocations: 2.094 kB / 0.8274 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.6125, allocations: 224.9 kB / 0.8276 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.6125, allocations: 20.66 kB / 0.8276 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.6126, allocations: 6.891 kB / 0.8276 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.098e-05/0.6126, allocations: 7.359 kB / 0.8277 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.6127, allocations: 20.27 kB / 0.8277 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.6127, allocations: 7.375 kB / 0.8277 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001341/0.6128, allocations: 171.5 kB / 0.8278 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6128, allocations: 0 / 0.8278 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002408/0.613, allocations: 67.52 kB / 0.8279 GB, free: 9.844 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005395/0.6136, allocations: 0.7707 MB / 0.8287 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00099/0.6146, allocations: 0.6068 MB / 0.8293 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6146, allocations: 0 / 0.8293 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.6147, allocations: 54.97 kB / 0.8293 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.615, allocations: 72.81 kB / 0.8294 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.6188, allocations: 3.54 MB / 0.8328 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.619, allocations: 121 kB / 0.8329 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.109e-05/0.619, allocations: 17.72 kB / 0.833 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.238e-05/0.6191, allocations: 59.64 kB / 0.833 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of SimCode: time 7.62e-07/0.6191, allocations: 5.031 kB / 0.833 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.6415, allocations: 7.524 MB / 0.8404 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.562, allocations: 2.031 kB / 0.8404 GB, free: 3.285 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.842375962994993] Failed to read output from testmodel.py, exit status != 0: 7.643110549077392 7.660668851 7.052144904 Calling exit ...