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.001212/0.001212, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0014/0.0014, allocations: 162 kB / 22.43 MB, free: 2.141 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.8786/0.8786, allocations: 177.2 MB / 202.8 MB, free: 5.77 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7078/0.7078, allocations: 154.9 MB / 414.2 MB, free: 0.5273 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: 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.0009552/0.0009552, allocations: 76.95 kB / 0.6187 GB, free: 13.26 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4696, allocations: 102 MB / 0.7182 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001877/0.4715, allocations: 0.6946 MB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.4736, allocations: 1.162 MB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.4737, allocations: 0 / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.4737, allocations: 4.625 kB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.4739, allocations: 20.22 kB / 0.7201 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.4746, allocations: 127.6 kB / 0.7202 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.4748, allocations: 125.5 kB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4749, allocations: 13.66 kB / 0.7203 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.4751, allocations: 72.75 kB / 0.7204 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.4752, allocations: 33.64 kB / 0.7204 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.4752, allocations: 12.78 kB / 0.7204 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.4753, allocations: 19.8 kB / 0.7205 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.4753, allocations: 20.11 kB / 0.7205 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.4754, allocations: 36.88 kB / 0.7205 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.4756, allocations: 150.7 kB / 0.7207 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4756, allocations: 0 / 0.7207 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4756, allocations: 3.938 kB / 0.7207 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.4757, allocations: 1.031 kB / 0.7207 GB, free: 21.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004591/0.4761, allocations: 322.1 kB / 0.721 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4762, allocations: 14.62 kB / 0.721 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.384e-05/0.4762, allocations: 32.3 kB / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.4762, allocations: 7.25 kB / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/0.4763, allocations: 129.1 kB / 0.7211 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.4763, allocations: 4.438 kB / 0.7212 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.4764, allocations: 5.688 kB / 0.7212 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.4765, allocations: 42.94 kB / 0.7212 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4765, allocations: 7.922 kB / 0.7212 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4765, allocations: 4 kB / 0.7212 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4765, allocations: 1.062 kB / 0.7212 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.4766, allocations: 12.62 kB / 0.7212 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.477, allocations: 281.4 kB / 0.7215 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.485e-05/0.477, allocations: 26.33 kB / 0.7215 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.4771, allocations: 19.66 kB / 0.7215 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.4771, allocations: 0 / 0.7215 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.4773, allocations: 65.45 kB / 0.7216 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4773, allocations: 4.875 kB / 0.7216 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002435/0.4775, allocations: 71.41 kB / 0.7217 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.4776, allocations: 53.56 kB / 0.7217 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.4777, allocations: 132.5 kB / 0.7218 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4777, allocations: 27.92 kB / 0.7219 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.4777, allocations: 89.73 kB / 0.722 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.4778, allocations: 10.02 kB / 0.722 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.4778, allocations: 34.61 kB / 0.722 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.4779, allocations: 319.2 kB / 0.7223 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.645e-05/0.478, allocations: 75.73 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.478, allocations: 95.94 kB / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.189e-05/0.4781, allocations: 92.36 kB / 0.7226 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4781, allocations: 1.156 kB / 0.7226 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002088/0.4783, allocations: 195.2 kB / 0.7227 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.4784, allocations: 38.2 kB / 0.7228 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4784, allocations: 5.281 kB / 0.7228 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4784, allocations: 2.078 kB / 0.7228 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.4785, allocations: 6.344 kB / 0.7228 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4785, allocations: 1.797 kB / 0.7228 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.4786, allocations: 28.03 kB / 0.7228 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.4786, allocations: 6.672 kB / 0.7228 GB, free: 19.57 MB / 0.6355 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.665e-05/0.4787, allocations: 123.3 kB / 0.7229 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.4787, allocations: 6.719 kB / 0.723 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.4787, allocations: 14.47 kB / 0.723 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4787, allocations: 1.344 kB / 0.723 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4787, allocations: 0 / 0.723 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4788, allocations: 1.922 kB / 0.723 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.863e-05/0.4788, allocations: 144.1 kB / 0.7231 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4788, allocations: 1.281 kB / 0.7231 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.4789, allocations: 2.203 kB / 0.7231 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4789, allocations: 1.062 kB / 0.7231 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.4789, allocations: 2.344 kB / 0.7231 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4789, allocations: 0 / 0.7231 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4789, allocations: 0 / 0.7231 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.479, allocations: 102.9 kB / 0.7232 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.479, allocations: 3.172 kB / 0.7232 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.479, allocations: 5.656 kB / 0.7232 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.766e-05/0.479, allocations: 0 / 0.7232 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.4791, allocations: 7.828 kB / 0.7232 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.4791, allocations: 10.72 kB / 0.7232 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.4791, allocations: 93.78 kB / 0.7233 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4791, allocations: 0 / 0.7233 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001524/0.4793, allocations: 25.53 kB / 0.7234 GB, free: 19.07 MB / 0.6355 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.0002828/0.4795, allocations: 0.6331 MB / 0.724 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.4797, allocations: 151.6 kB / 0.7241 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4797, allocations: 0 / 0.7241 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.4798, allocations: 17.66 kB / 0.7241 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.48, allocations: 11.64 kB / 0.7241 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.481, allocations: 1.634 MB / 0.7257 GB, free: 16.87 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.4811, allocations: 72.75 kB / 0.7258 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.4811, allocations: 4.328 kB / 0.7258 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.4811, allocations: 16.67 kB / 0.7258 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.4811, allocations: 1.031 kB / 0.7258 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.5001, allocations: 3.15 MB / 0.7289 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/7.327, allocations: 1.406 kB / 0.7289 GB, free: 15.79 MB / 0.6355 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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_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: 10.116734448936768] Failed to read output from testmodel.py, exit status != 0: 7.409738030983135 7.427666453 6.948972852 Calling exit ...