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.000836/0.000836, 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.001038/0.001038, allocations: 217.7 kB / 22.25 MB, free: 3.699 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.9771/0.9771, allocations: 230.6 MB / 256 MB, free: 9.801 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.8245/0.8245, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.001015/0.001015, allocations: 75.23 kB / 0.7182 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5726/0.5736, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002398/0.576, allocations: 0.9579 MB / 0.8188 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.5778, allocations: 1.476 MB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.5779, allocations: 0 / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.544e-05/0.578, allocations: 17.5 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.5781, allocations: 61.39 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.5793, allocations: 445.7 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006421/0.5799, allocations: 492.5 kB / 0.8212 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.5801, allocations: 38.34 kB / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.5804, allocations: 184.9 kB / 0.8214 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.5807, allocations: 170.9 kB / 0.8216 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.5808, allocations: 49.06 kB / 0.8216 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.5809, allocations: 62.31 kB / 0.8217 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.5809, allocations: 41.25 kB / 0.8217 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.5811, allocations: 166.4 kB / 0.8219 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.5817, allocations: 0.4889 MB / 0.8224 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.5817, allocations: 4 kB / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5817, allocations: 1.469 kB / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.5817, allocations: 0 / 0.8224 GB, free: 14.52 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.0009247/0.5827, allocations: 0.5695 MB / 0.8229 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.5827, allocations: 9.75 kB / 0.8229 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.5828, allocations: 39.66 kB / 0.823 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.5828, allocations: 31.59 kB / 0.823 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.583, allocations: 164.6 kB / 0.8232 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.5831, allocations: 13.75 kB / 0.8232 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.5831, allocations: 25 kB / 0.8232 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.5833, allocations: 120.7 kB / 0.8233 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5833, allocations: 5.953 kB / 0.8233 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.5833, allocations: 5.844 kB / 0.8233 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.5833, allocations: 2.406 kB / 0.8233 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.228e-05/0.5834, allocations: 56.42 kB / 0.8234 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.5845, allocations: 0.8462 MB / 0.8242 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.5847, allocations: 114.1 kB / 0.8243 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/0.5847, allocations: 55.73 kB / 0.8244 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.5847, allocations: 3.094 kB / 0.8244 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.5852, allocations: 177.8 kB / 0.8246 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.5852, allocations: 0 / 0.8246 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0004676/0.5856, allocations: 222.3 kB / 0.8248 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.5857, allocations: 137.9 kB / 0.8249 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.5859, allocations: 247.7 kB / 0.8251 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.586, allocations: 41.77 kB / 0.8252 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.5861, allocations: 131.8 kB / 0.8253 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.5861, allocations: 32.34 kB / 0.8253 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.5862, allocations: 99.91 kB / 0.8254 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5863, allocations: 331.3 kB / 0.8257 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.5866, allocations: 141.8 kB / 0.8259 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.5868, allocations: 228.9 kB / 0.8261 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.5875, allocations: 363.2 kB / 0.8264 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5875, allocations: 1.125 kB / 0.8264 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006887/0.5882, allocations: 0.5653 MB / 0.827 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.553e-05/0.5882, allocations: 137 kB / 0.8271 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.5882, allocations: 6.906 kB / 0.8271 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5883, allocations: 7.859 kB / 0.8271 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.5883, allocations: 12.73 kB / 0.8272 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.5884, allocations: 5.016 kB / 0.8272 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.5888, allocations: 114.5 kB / 0.8273 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.5888, allocations: 28.75 kB / 0.8273 GB, free: 10.77 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.000145/0.5889, allocations: 144.5 kB / 0.8274 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.589, allocations: 23.12 kB / 0.8275 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.589, allocations: 22.34 kB / 0.8275 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.589, allocations: 2.844 kB / 0.8275 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.589, allocations: 5.062 kB / 0.8275 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.589, allocations: 10 kB / 0.8275 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.5893, allocations: 231.8 kB / 0.8277 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5893, allocations: 1.984 kB / 0.8277 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.5893, allocations: 16.78 kB / 0.8277 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.5893, allocations: 2.344 kB / 0.8277 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5893, allocations: 8.172 kB / 0.8277 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5893, allocations: 6.703 kB / 0.8277 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5893, allocations: 0.6562 kB / 0.8277 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.5896, allocations: 217 kB / 0.828 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.5896, allocations: 23.27 kB / 0.828 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.5896, allocations: 4.812 kB / 0.828 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.5897, allocations: 9.75 kB / 0.828 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.5897, allocations: 20.81 kB / 0.828 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.5897, allocations: 10.95 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001368/0.5899, allocations: 169.1 kB / 0.8282 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5899, allocations: 0 / 0.8282 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002659/0.5901, allocations: 72.72 kB / 0.8283 GB, free: 10.09 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.0005307/0.5907, allocations: 0.7608 MB / 0.829 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005519/0.5912, allocations: 483.7 kB / 0.8295 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5912, allocations: 0 / 0.8295 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.706e-05/0.5913, allocations: 59.25 kB / 0.8295 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.5917, allocations: 68.48 kB / 0.8296 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.595, allocations: 3.026 MB / 0.8325 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.5953, allocations: 0.7305 MB / 0.8332 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.5954, allocations: 18.56 kB / 0.8333 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/0.5955, allocations: 59.98 kB / 0.8333 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.5955, allocations: 0 / 0.8333 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.6231, allocations: 6.597 MB / 0.8398 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/7.46, allocations: 8.297 kB / 0.8398 GB, free: 4.227 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.59771313588135] Failed to read output from testmodel.py, exit status != 0: 7.542001493042335 7.554434704 6.970366022 Calling exit ...