Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000763/0.000763, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007424/0.0007424, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8441/0.8441, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6907/0.6907, allocations: 154.6 MB / 414.5 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.6194 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.159e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001338/0.00137, allocations: 0.6079 MB / 0.62 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007699/0.00214, allocations: 0.8393 MB / 0.6208 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.002177, allocations: 3.938 kB / 0.6208 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.002202, allocations: 0 / 0.6208 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.002247, allocations: 4 kB / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.002437, allocations: 11.92 kB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.425e-05/0.002502, allocations: 23.92 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.002543, allocations: 4 kB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.002679, allocations: 19.92 kB / 0.6209 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.002725, allocations: 0 / 0.6209 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.002739, allocations: 4 kB / 0.6209 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.865e-05/0.002778, allocations: 7.938 kB / 0.6209 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.002789, allocations: 7.969 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.002804, allocations: 7.938 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.957e-05/0.002894, allocations: 23.91 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002896, allocations: 4 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.81e-07/0.002897, allocations: 0 / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.0029, allocations: 0 / 0.6209 GB, free: 11.58 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.0002989/0.003199, allocations: 250.4 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.003232, allocations: 8.031 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.003335, allocations: 20.81 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.003414, allocations: 105.7 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.003423, allocations: 384 / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.003432, allocations: 4.375 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.337e-05/0.003526, allocations: 38.25 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.003535, allocations: 192 / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.003543, allocations: 384 / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.003547, allocations: 384 / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.786e-05/0.003585, allocations: 19.92 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.003696, allocations: 97.33 kB / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.151e-05/0.003748, allocations: 34.53 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.003772, allocations: 8.922 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.003787, allocations: 3.984 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.003807, allocations: 34.56 kB / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.003808, allocations: 0 / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001569/0.003964, allocations: 53.67 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.003998, allocations: 51.41 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.00406, allocations: 113.7 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.004069, allocations: 25.7 kB / 0.6217 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.004099, allocations: 84.14 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.004123, allocations: 7.891 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.004144, allocations: 13.72 kB / 0.6218 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.004231, allocations: 311 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.004254, allocations: 15.98 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.004272, allocations: 8 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.004314, allocations: 20.84 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.004316, allocations: 0 / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.103e-05/0.004377, allocations: 41.69 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.004389, allocations: 4 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.004395, allocations: 8.328 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.004406, allocations: 7.938 kB / 0.6222 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.004457, allocations: 4 kB / 0.6222 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.004462, allocations: 0 / 0.6222 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.004476, allocations: 7.938 kB / 0.6222 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.004481, allocations: 0 / 0.6222 GB, free: 10.03 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.568e-05/0.004537, allocations: 118.8 kB / 0.6224 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-06/0.004543, allocations: 3.984 kB / 0.6224 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.00456, allocations: 7.109 kB / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.004561, allocations: 0 / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.004564, allocations: 0 / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.004568, allocations: 7.938 kB / 0.6224 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.701e-05/0.004625, allocations: 105.3 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.004626, allocations: 3.984 kB / 0.6225 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.004639, allocations: 4 kB / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.00464, allocations: 0 / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.004646, allocations: 0 / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.004647, allocations: 4 kB / 0.6225 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004648, allocations: 0 / 0.6225 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.397e-05/0.004722, allocations: 76.98 kB / 0.6226 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-06/0.004727, allocations: 4.031 kB / 0.6226 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-06/0.004736, allocations: 4 kB / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.004746, allocations: 0 / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.004774, allocations: 0 / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.004777, allocations: 4 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3e-05/0.004807, allocations: 83.27 kB / 0.6227 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.004808, allocations: 0 / 0.6227 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000114/0.004922, allocations: 7.875 kB / 0.6227 GB, free: 9.543 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 7.826e-05/0.005, allocations: 99.25 kB / 0.6228 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.771e-05/0.005088, allocations: 15.98 kB / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.005089, allocations: 0 / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.005109, allocations: 11.98 kB / 0.6228 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.005218, allocations: 6.188 kB / 0.6228 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.005448, allocations: 126.6 kB / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.742e-05/0.005485, allocations: 59.36 kB / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.005509, allocations: 8.5 kB / 0.623 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.005509, allocations: 4.125 kB / 0.623 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of Templates: time 0.001225/0.006734, allocations: 489.9 kB / 0.6234 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.717523285187781] Failed to read output from testmodel.py, exit status != 0: 0.01111665554344654 0.018318288000000002 0.013813790000000001 Calling exit ...