Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.001181/0.001181, 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.001278/0.001278, allocations: 170.3 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.8932/0.8932, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7249/0.7249, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.411e-05, allocations: 3.25 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001125/0.001139, allocations: 0.6124 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.001939, allocations: 0.8354 MB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.00197, allocations: 0 / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.001997, allocations: 3.938 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.002047, allocations: 7.938 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.002242, allocations: 3.984 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.737e-05/0.002309, allocations: 15.94 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.002359, allocations: 11.98 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.002511, allocations: 27.86 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.002559, allocations: 3.984 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.002574, allocations: 4 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.942e-05/0.002613, allocations: 4 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.002623, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.002638, allocations: 4 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.002736, allocations: 31.83 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.002738, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002739, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.002742, allocations: 0 / 0.6196 GB, free: 12.11 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003037/0.003046, allocations: 258.4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.003084, allocations: 9.469 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.003112, allocations: 30.75 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.003206, allocations: 12.92 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.403e-05/0.00328, allocations: 101.8 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.003288, allocations: 384 / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.003296, allocations: 4.375 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/0.003391, allocations: 38.19 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.003399, allocations: 192 / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.003407, allocations: 4.375 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.003412, allocations: 4.125 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.00345, allocations: 15.98 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.003563, allocations: 124.8 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.003608, allocations: 22.61 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.003634, allocations: 12.91 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.003646, allocations: 0 / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.003663, allocations: 34.56 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.003664, allocations: 3.938 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.00381, allocations: 57.62 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.00384, allocations: 59.34 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.385e-05/0.003894, allocations: 97.86 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.003905, allocations: 25.7 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.003933, allocations: 84.14 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.003955, allocations: 11.92 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.003976, allocations: 13.66 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.004049, allocations: 314.8 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.004068, allocations: 4 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/0.004083, allocations: 20.05 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/0.004126, allocations: 24.78 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004127, allocations: 0 / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.891e-05/0.004186, allocations: 41.69 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.004199, allocations: 8 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.004202, allocations: 0 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.004213, allocations: 0 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.004265, allocations: 12.27 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.004268, allocations: 4 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.326e-05/0.004281, allocations: 4 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.004287, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.452e-05/0.004342, allocations: 114.8 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-06/0.004347, allocations: 3.953 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.667e-05/0.004364, allocations: 3.156 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.004365, allocations: 0 / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.00437, allocations: 3.938 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.004373, allocations: 7.984 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.429e-05/0.004437, allocations: 120.8 kB / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.004439, allocations: 4 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.271e-05/0.004451, allocations: 7.922 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.004452, allocations: 0 / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.00446, allocations: 4 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.004461, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.004462, allocations: 3.938 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.922e-05/0.004532, allocations: 65.12 kB / 0.6213 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.004539, allocations: 4 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.004549, allocations: 3.984 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-06/0.004558, allocations: 4.031 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.004584, allocations: 3.938 kB / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.004586, allocations: 4 kB / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.004614, allocations: 83.28 kB / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.004614, allocations: 0 / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001236/0.004738, allocations: 0 / 0.6214 GB, free: 9.977 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002646/0.005002, allocations: 0.6046 MB / 0.622 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.438e-05/0.005097, allocations: 20.02 kB / 0.622 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.005098, allocations: 0 / 0.622 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.00512, allocations: 19.92 kB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.005239, allocations: 6.125 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.005541, allocations: 134.5 kB / 0.6222 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.005583, allocations: 59.34 kB / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.005607, allocations: 3.984 kB / 0.6223 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.005649, allocations: 12.62 kB / 0.6223 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/0.00565, allocations: 0 / 0.6223 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.01986, allocations: 1.753 MB / 0.624 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/6.836, allocations: 13.34 kB / 0.624 GB, free: 7.414 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.510792038403451] Failed to read output from testmodel.py, exit status != 0: 6.917499826289713 6.92761987 6.923153102 Calling exit ...