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.0009345/0.0009345, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 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.001061/0.001061, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.949/0.949, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7425/0.7425, allocations: 154.9 MB / 414.9 MB, free: 0.5117 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [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.001545/0.001545, allocations: 67.89 kB / 0.6199 GB, free: 12.73 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.5441/0.5457, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001823/0.5475, allocations: 0.5923 MB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.5486, allocations: 0.8383 MB / 0.7209 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.5486, allocations: 5.406 kB / 0.7209 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.5487, allocations: 3.938 kB / 0.7209 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.5487, allocations: 0 / 0.7209 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.549, allocations: 21.38 kB / 0.7209 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.628e-05/0.5491, allocations: 18.36 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.912e-05/0.5491, allocations: 6.594 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.5493, allocations: 16.98 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.5494, allocations: 8.672 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.5494, allocations: 5.453 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.5495, allocations: 8.375 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.5495, allocations: 1.078 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.5495, allocations: 1.984 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.5496, allocations: 24.83 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5496, allocations: 9.438 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5496, allocations: 0 / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.5496, allocations: 0 / 0.721 GB, free: 22.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003279/0.55, allocations: 253.3 kB / 0.7212 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.55, allocations: 11.61 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.5501, allocations: 14.38 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.76e-05/0.5502, allocations: 106 kB / 0.7214 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5502, allocations: 5.344 kB / 0.7214 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.5502, allocations: 4.359 kB / 0.7214 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.5504, allocations: 42.62 kB / 0.7214 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5504, allocations: 2.594 kB / 0.7214 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5504, allocations: 3.938 kB / 0.7214 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5504, allocations: 0 / 0.7214 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.463e-05/0.5504, allocations: 11.66 kB / 0.7214 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.5505, allocations: 110.8 kB / 0.7215 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.5506, allocations: 25.83 kB / 0.7216 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.5506, allocations: 15.52 kB / 0.7216 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.5506, allocations: 1.062 kB / 0.7216 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.5507, allocations: 36.14 kB / 0.7216 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5507, allocations: 0 / 0.7216 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001861/0.5508, allocations: 59.38 kB / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.5509, allocations: 53.16 kB / 0.7217 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.846e-05/0.5509, allocations: 102.2 kB / 0.7218 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.5509, allocations: 26.41 kB / 0.7218 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.164e-05/0.551, allocations: 86.28 kB / 0.7219 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.551, allocations: 4.75 kB / 0.7219 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.551, allocations: 12.8 kB / 0.7219 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.5511, allocations: 321 kB / 0.7223 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.5511, allocations: 5.719 kB / 0.7223 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.5511, allocations: 7.641 kB / 0.7223 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.5512, allocations: 21.11 kB / 0.7223 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5512, allocations: 0 / 0.7223 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.26e-05/0.5512, allocations: 51.36 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5513, allocations: 5.359 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5513, allocations: 5.281 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5513, allocations: 3.938 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.5513, allocations: 5.219 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5513, allocations: 0 / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.5514, allocations: 3.266 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.5514, allocations: 0 / 0.7224 GB, free: 21.04 MB / 0.6355 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 4.849e-05/0.5514, allocations: 109.9 kB / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-06/0.5514, allocations: 1.125 kB / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.5514, allocations: 8.891 kB / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5515, allocations: 4.828 kB / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5515, allocations: 5.125 kB / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5515, allocations: 0 / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.516e-05/0.5515, allocations: 107 kB / 0.7226 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5515, allocations: 1.031 kB / 0.7226 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.5515, allocations: 3.781 kB / 0.7226 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5515, allocations: 9.719 kB / 0.7226 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.5515, allocations: 0 / 0.7226 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5515, allocations: 0.5625 kB / 0.7226 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5515, allocations: 5 kB / 0.7226 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.999e-05/0.5516, allocations: 80.27 kB / 0.7227 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-06/0.5516, allocations: 2 kB / 0.7227 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.5517, allocations: 5.812 kB / 0.7227 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.5517, allocations: 1.875 kB / 0.7227 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.5517, allocations: 6.453 kB / 0.7227 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.5517, allocations: 2.031 kB / 0.7227 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.5517, allocations: 84.33 kB / 0.7228 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5517, allocations: 0 / 0.7228 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001288/0.5519, allocations: 2.25 kB / 0.7228 GB, free: 20.61 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: 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.0001248/0.552, allocations: 97.62 kB / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.5521, allocations: 18.34 kB / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5521, allocations: 0 / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.534e-05/0.5521, allocations: 11.42 kB / 0.7229 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.5523, allocations: 5.047 kB / 0.7229 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.5526, allocations: 114.9 kB / 0.723 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.5526, allocations: 58.75 kB / 0.7231 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.5526, allocations: 5.219 kB / 0.7231 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.5527, allocations: 9.062 kB / 0.7231 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.5527, allocations: 1.062 kB / 0.7231 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.001932/0.5546, allocations: 282.8 kB / 0.7234 GB, free: 20.26 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.421773376059718] Failed to read output from testmodel.py, exit status != 0: 0.5651920079253614 0.5789240410000001 0.026342924 Calling exit ...