Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009994/0.0009994, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.00108/0.00108, allocations: 214.6 kB / 22.26 MB, free: 3.852 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 0.9082/0.9082, allocations: 230.6 MB / 256 MB, free: 3.441 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7993/0.7993, allocations: 203.8 MB / 0.5042 GB, free: 0.6953 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_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.0009284/0.0009284, allocations: 71.89 kB / 0.7182 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4964, allocations: 102 MB / 0.8179 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001847/0.4983, allocations: 0.9497 MB / 0.8188 GB, free: 24.32 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.4998, allocations: 1.475 MB / 0.8202 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.4999, allocations: 1.969 kB / 0.8202 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.4999, allocations: 13.77 kB / 0.8203 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.5, allocations: 66.81 kB / 0.8203 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008616/0.5009, allocations: 443.6 kB / 0.8207 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.5014, allocations: 493.9 kB / 0.8212 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.5015, allocations: 46.56 kB / 0.8213 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.5017, allocations: 186.2 kB / 0.8214 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.5019, allocations: 160.8 kB / 0.8216 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.164e-05/0.502, allocations: 49.06 kB / 0.8216 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.5021, allocations: 63.28 kB / 0.8217 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.5022, allocations: 46.17 kB / 0.8217 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.5023, allocations: 166.1 kB / 0.8219 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.5028, allocations: 0.4949 MB / 0.8224 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5028, allocations: 0.5625 kB / 0.8224 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5028, allocations: 0 / 0.8224 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.5028, allocations: 1.406 kB / 0.8224 GB, free: 22.23 MB / 0.6355 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.0006232/0.5034, allocations: 0.5589 MB / 0.8229 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5035, allocations: 10.81 kB / 0.8229 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.5035, allocations: 40.77 kB / 0.823 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.5036, allocations: 31.48 kB / 0.823 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.5037, allocations: 163.5 kB / 0.8232 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.5038, allocations: 19.11 kB / 0.8232 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/0.5038, allocations: 23.92 kB / 0.8232 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.504, allocations: 117.2 kB / 0.8233 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5041, allocations: 4.438 kB / 0.8233 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.5041, allocations: 10.52 kB / 0.8233 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5041, allocations: 2.156 kB / 0.8233 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.5042, allocations: 52.59 kB / 0.8234 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5053, allocations: 0.8464 MB / 0.8242 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.5054, allocations: 113.5 kB / 0.8243 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.5055, allocations: 54 kB / 0.8244 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.5055, allocations: 6.344 kB / 0.8244 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.5059, allocations: 175 kB / 0.8245 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.5059, allocations: 3.938 kB / 0.8246 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0004568/0.5064, allocations: 225.8 kB / 0.8248 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.5064, allocations: 141.8 kB / 0.8249 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.5067, allocations: 243.4 kB / 0.8251 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.5067, allocations: 38.53 kB / 0.8252 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.5068, allocations: 128.2 kB / 0.8253 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.5068, allocations: 35.05 kB / 0.8253 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.507, allocations: 97.41 kB / 0.8254 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.5071, allocations: 330.6 kB / 0.8257 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.5073, allocations: 145.8 kB / 0.8259 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.5076, allocations: 223.9 kB / 0.8261 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.5079, allocations: 368.1 kB / 0.8264 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5079, allocations: 1.25 kB / 0.8264 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006117/0.5085, allocations: 0.5605 MB / 0.827 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.5086, allocations: 135.7 kB / 0.8271 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5086, allocations: 3.891 kB / 0.8271 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5086, allocations: 3.469 kB / 0.8271 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.5087, allocations: 15.3 kB / 0.8271 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5087, allocations: 9.375 kB / 0.8271 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.5091, allocations: 116 kB / 0.8273 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.5091, allocations: 27.97 kB / 0.8273 GB, free: 18.5 MB / 0.6355 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.5093, allocations: 154 kB / 0.8274 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.5093, allocations: 18.56 kB / 0.8274 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.5093, allocations: 20.83 kB / 0.8275 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.5093, allocations: 8.25 kB / 0.8275 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5093, allocations: 4.875 kB / 0.8275 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.5093, allocations: 5.719 kB / 0.8275 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.5095, allocations: 232.3 kB / 0.8277 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5095, allocations: 1.156 kB / 0.8277 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.5096, allocations: 17.61 kB / 0.8277 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5096, allocations: 2.25 kB / 0.8277 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.5096, allocations: 7.828 kB / 0.8277 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.5096, allocations: 2.781 kB / 0.8277 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5096, allocations: 1.031 kB / 0.8277 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.5098, allocations: 217.2 kB / 0.8279 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.5099, allocations: 24.78 kB / 0.828 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.5099, allocations: 3.594 kB / 0.828 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.5099, allocations: 10.78 kB / 0.828 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.51, allocations: 15.47 kB / 0.828 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.51, allocations: 12.09 kB / 0.828 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000136/0.5101, allocations: 165 kB / 0.8282 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.5101, allocations: 0 / 0.8282 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002713/0.5104, allocations: 76.44 kB / 0.8282 GB, free: 17.83 MB / 0.6355 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.0004639/0.5108, allocations: 0.7573 MB / 0.829 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005688/0.5114, allocations: 490.4 kB / 0.8294 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5114, allocations: 0 / 0.8294 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.629e-05/0.5115, allocations: 55.02 kB / 0.8295 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.5119, allocations: 77.17 kB / 0.8296 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.5148, allocations: 3.024 MB / 0.8325 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.5149, allocations: 0.7259 MB / 0.8332 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.345e-05/0.515, allocations: 26.33 kB / 0.8333 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.5151, allocations: 64.7 kB / 0.8333 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/0.5151, allocations: 0 / 0.8333 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.5386, allocations: 6.593 MB / 0.8398 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/7.268, allocations: 5.078 kB / 0.8398 GB, free: 13.11 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.137968489900231] Failed to read output from testmodel.py, exit status != 0: 7.345113968010992 7.355640737 6.850862258 Calling exit ...