Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001152/0.001152, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000963/0.000963, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8943/0.8943, 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 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.7257/0.7257, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Reals.Sources.Validation.Pulse,fileNamePrefix="IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.757e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001349/0.001377, allocations: 0.6871 MB / 0.6188 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.002453, allocations: 1.166 MB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.002494, allocations: 0 / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.00252, allocations: 3.938 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.002589, allocations: 19.86 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.002941, allocations: 127.1 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.003076, allocations: 123.8 kB / 0.6202 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.242e-05/0.003159, allocations: 11.98 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.003241, allocations: 59.91 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.003318, allocations: 39.88 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.003339, allocations: 16 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.181e-05/0.003391, allocations: 27.92 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.003408, allocations: 7.938 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.003451, allocations: 39.89 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.003604, allocations: 155.6 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003606, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003607, allocations: 0 / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.003612, allocations: 0 / 0.6205 GB, free: 11.21 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.0003725/0.003984, allocations: 311.9 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.00402, allocations: 9.469 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.588e-05/0.004046, allocations: 46.75 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.004077, allocations: 8.922 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.00416, allocations: 117.7 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.004174, allocations: 8.375 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.004188, allocations: 4.375 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.206e-05/0.00426, allocations: 42.25 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.004266, allocations: 192 / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.004273, allocations: 384 / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004278, allocations: 8.125 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.004313, allocations: 15.92 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.004613, allocations: 276 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.009e-05/0.004663, allocations: 34.52 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.004683, allocations: 16.92 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.004692, allocations: 3.938 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.004807, allocations: 67.31 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.004808, allocations: 0 / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.000174/0.004982, allocations: 85.61 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.005013, allocations: 55.41 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.005087, allocations: 120.8 kB / 0.6217 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.005106, allocations: 33.7 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.005152, allocations: 92.12 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.878e-06/0.005162, allocations: 7.953 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.005204, allocations: 33.64 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.887e-05/0.005283, allocations: 322.8 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.005359, allocations: 69.62 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.00543, allocations: 88.25 kB / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.965e-05/0.00551, allocations: 88.27 kB / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005512, allocations: 0 / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001857/0.005697, allocations: 200.9 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.005727, allocations: 45.69 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.005732, allocations: 4 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.005743, allocations: 0 / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.005787, allocations: 0 / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.005792, allocations: 4 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.005908, allocations: 31.91 kB / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.00592, allocations: 4 kB / 0.6227 GB, free: 8.75 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.275e-05/0.005983, allocations: 122.8 kB / 0.6228 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.005991, allocations: 11.89 kB / 0.6228 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.006013, allocations: 8 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.006015, allocations: 0 / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.00602, allocations: 4.062 kB / 0.6228 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.006023, allocations: 0 / 0.6228 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.884e-05/0.006102, allocations: 140.7 kB / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.006104, allocations: 3.938 kB / 0.6229 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-06/0.006112, allocations: 3.938 kB / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.006113, allocations: 0 / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.006119, allocations: 4 kB / 0.6229 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.006119, allocations: 0 / 0.6229 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00612, allocations: 7.938 kB / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.507e-05/0.006195, allocations: 93.06 kB / 0.623 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-06/0.006205, allocations: 7.891 kB / 0.623 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.006215, allocations: 4 kB / 0.623 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.006225, allocations: 0 / 0.623 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.006247, allocations: 4 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.006251, allocations: 7.984 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.006291, allocations: 87.28 kB / 0.6231 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006291, allocations: 4 kB / 0.6231 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001407/0.006431, allocations: 23.98 kB / 0.6232 GB, free: 8.145 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.0002584/0.00669, allocations: 0.628 MB / 0.6238 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.006852, allocations: 149.1 kB / 0.6239 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006853, allocations: 0 / 0.6239 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.006876, allocations: 19.92 kB / 0.6239 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.007024, allocations: 15.92 kB / 0.624 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.008074, allocations: 1.62 MB / 0.6255 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.008109, allocations: 75.45 kB / 0.6256 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.00813, allocations: 4.516 kB / 0.6256 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.008158, allocations: 16.5 kB / 0.6256 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.008158, allocations: 0 / 0.6256 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.02239, allocations: 3.151 MB / 0.6287 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.048, allocations: 11.58 kB / 0.6287 GB, free: 2.453 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.6781868590042] Failed to read output from testmodel.py, exit status != 0: 7.130894758738577 7.140312315 7.134220273 Calling exit ...