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.0007804/0.0007804, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008306/0.0008306, allocations: 208.1 kB / 22.25 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 0.9248/0.9248, allocations: 230.6 MB / 256 MB, free: 9.605 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.7755/0.7755, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.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: 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.0008983/0.0008983, allocations: 61.94 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5221, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00169/0.5238, allocations: 0.7106 MB / 0.8185 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.525, allocations: 1.153 MB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.5251, allocations: 0 / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.5251, allocations: 3.938 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.5252, allocations: 16.8 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.5256, allocations: 133 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.5258, allocations: 134.8 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.83e-05/0.5259, allocations: 4.797 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.5259, allocations: 43.28 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.526, allocations: 38.27 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.526, allocations: 14.03 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.344e-05/0.5261, allocations: 25.97 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.5261, allocations: 13.2 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.5262, allocations: 36.23 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.5264, allocations: 139 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5264, allocations: 1.047 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5264, allocations: 1.094 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.5264, allocations: 0 / 0.8202 GB, free: 15.48 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.0004815/0.5269, allocations: 322 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.5269, allocations: 9.625 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.527, allocations: 32.47 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.527, allocations: 10.73 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.5271, allocations: 117.6 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.5271, allocations: 8.391 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.5271, allocations: 5.688 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.307e-05/0.5272, allocations: 46.33 kB / 0.8207 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5273, allocations: 7.875 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.5273, allocations: 0 / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5273, allocations: 3.328 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.5273, allocations: 10.28 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.5277, allocations: 274.2 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.851e-05/0.5277, allocations: 26.64 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.5278, allocations: 19.56 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.5278, allocations: 4.844 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.5279, allocations: 62.86 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.5279, allocations: 0 / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001951/0.5281, allocations: 76.59 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.5281, allocations: 54.94 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.5282, allocations: 141 kB / 0.8214 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.5282, allocations: 27.33 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.5283, allocations: 91.03 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.5283, allocations: 12.59 kB / 0.8215 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.5284, allocations: 33.09 kB / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.5285, allocations: 325.2 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.5285, allocations: 67.05 kB / 0.8219 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/0.5286, allocations: 84.22 kB / 0.822 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.826e-05/0.5287, allocations: 95.7 kB / 0.8221 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5287, allocations: 1.156 kB / 0.8221 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002227/0.5289, allocations: 204.4 kB / 0.8223 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.529, allocations: 37.41 kB / 0.8223 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.529, allocations: 2.75 kB / 0.8223 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.529, allocations: 4.062 kB / 0.8223 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.5291, allocations: 2.609 kB / 0.8223 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5291, allocations: 4.281 kB / 0.8223 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.5292, allocations: 22.67 kB / 0.8224 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.5292, allocations: 8.938 kB / 0.8224 GB, free: 13.47 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 6.314e-05/0.5292, allocations: 120.3 kB / 0.8225 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.5293, allocations: 6.109 kB / 0.8225 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.5293, allocations: 11.62 kB / 0.8225 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5293, allocations: 7.047 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5293, allocations: 0 / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5293, allocations: 0 / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.372e-05/0.5294, allocations: 139.5 kB / 0.8226 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5294, allocations: 0.6562 kB / 0.8226 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.5294, allocations: 4.594 kB / 0.8227 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.5294, allocations: 1.594 kB / 0.8227 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.5294, allocations: 0.7969 kB / 0.8227 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.5294, allocations: 1.531 kB / 0.8227 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5294, allocations: 0 / 0.8227 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.282e-05/0.5295, allocations: 95.58 kB / 0.8227 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.5295, allocations: 4.797 kB / 0.8228 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.5295, allocations: 5.578 kB / 0.8228 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.272e-05/0.5295, allocations: 4.203 kB / 0.8228 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.5295, allocations: 5.453 kB / 0.8228 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.5295, allocations: 3.828 kB / 0.8228 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.5296, allocations: 92.27 kB / 0.8229 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5296, allocations: 3.938 kB / 0.8229 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001401/0.5297, allocations: 22.84 kB / 0.8229 GB, free: 12.98 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.0003053/0.53, allocations: 0.6346 MB / 0.8235 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.5302, allocations: 163 kB / 0.8237 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5302, allocations: 0 / 0.8237 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.5302, allocations: 15.8 kB / 0.8237 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.5304, allocations: 14.94 kB / 0.8237 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.5319, allocations: 1.618 MB / 0.8253 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.5319, allocations: 72.94 kB / 0.8253 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.532, allocations: 3.797 kB / 0.8253 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.532, allocations: 16.58 kB / 0.8254 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.532, allocations: 3.938 kB / 0.8254 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.5473, allocations: 3.016 MB / 0.8283 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.62/7.167, allocations: 6.938 kB / 0.8283 GB, free: 9.742 MB / 0.6198 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.992246491834521] Failed to read output from testmodel.py, exit status != 0: 7.242727357894182 7.25686954 6.728562968 Calling exit ...