Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.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.0006857/0.0006857, allocations: 76.55 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.0007189/0.0007189, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8115/0.8115, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6651/0.6651, allocations: 154.5 MB / 414.5 MB, free: 0.8594 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.Validation.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.643e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001018/0.001035, allocations: 0.655 MB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006747/0.001709, allocations: 0.8121 MB / 0.6208 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.001738, allocations: 0 / 0.6208 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.001762, allocations: 4 kB / 0.6208 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.001813, allocations: 3.938 kB / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.001985, allocations: 19.91 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.002044, allocations: 27.92 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.002133, allocations: 0 / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.002194, allocations: 11.98 kB / 0.6208 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.548e-05/0.002229, allocations: 8 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.002249, allocations: 4 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.511e-05/0.002294, allocations: 7.984 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.002307, allocations: 7.922 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.002323, allocations: 8 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.855e-05/0.002412, allocations: 31.89 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.002414, allocations: 0 / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002415, allocations: 0 / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.002417, allocations: 0 / 0.6209 GB, free: 11.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003058/0.002723, allocations: 258.4 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.002755, allocations: 9.469 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.002816, allocations: 8.891 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.393e-05/0.00289, allocations: 109.7 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.0029, allocations: 384 / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.002908, allocations: 8.359 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.003016, allocations: 50.23 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.003023, allocations: 192 / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.003031, allocations: 384 / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.003035, allocations: 384 / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.003117, allocations: 43.83 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.003353, allocations: 192.6 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.958e-05/0.003423, allocations: 42.5 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.003463, allocations: 20.89 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.003479, allocations: 4 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.003496, allocations: 30.56 kB / 0.6216 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.003497, allocations: 0 / 0.6216 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001935/0.00369, allocations: 89.53 kB / 0.6217 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.003719, allocations: 59.41 kB / 0.6218 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.761e-05/0.003766, allocations: 101.9 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.003775, allocations: 25.7 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.003806, allocations: 88.12 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.003819, allocations: 3.953 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.00384, allocations: 17.72 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.003907, allocations: 310.8 kB / 0.6223 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.705e-05/0.003944, allocations: 15.98 kB / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.003976, allocations: 19.97 kB / 0.6223 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.79e-05/0.004044, allocations: 36.89 kB / 0.6224 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.004045, allocations: 0 / 0.6224 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.457e-05/0.00414, allocations: 69.59 kB / 0.6224 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.004149, allocations: 4 kB / 0.6225 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.004153, allocations: 3.938 kB / 0.6225 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.004164, allocations: 4 kB / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.004217, allocations: 16.02 kB / 0.6225 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.00422, allocations: 0 / 0.6225 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.00424, allocations: 4 kB / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.004244, allocations: 0 / 0.6225 GB, free: 9.777 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 (2): * Single equations (assignments): 2 * 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.495e-05/0.004289, allocations: 114.8 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/0.004299, allocations: 0 / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.004411, allocations: 76.91 kB / 0.6227 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-07/0.004412, allocations: 0 / 0.6227 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.004416, allocations: 8.031 kB / 0.6227 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.004418, allocations: 0 / 0.6227 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.633e-05/0.004494, allocations: 105.3 kB / 0.6228 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-07/0.004495, allocations: 0 / 0.6228 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.00452, allocations: 15.94 kB / 0.6228 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004521, allocations: 3.938 kB / 0.6228 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.004526, allocations: 0 / 0.6228 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.004529, allocations: 7.922 kB / 0.6228 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.00453, allocations: 0 / 0.6228 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.004637, allocations: 159.5 kB / 0.6229 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.004643, allocations: 7.984 kB / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.004651, allocations: 0 / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.417e-05/0.004685, allocations: 7.938 kB / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.004714, allocations: 7.984 kB / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.004716, allocations: 192 / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.275e-05/0.004738, allocations: 83.27 kB / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004738, allocations: 0 / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001341/0.004872, allocations: 4 kB / 0.6231 GB, free: 9.121 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 (2): * Single equations (assignments): 2 * 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 6.104e-05/0.004934, allocations: 95.28 kB / 0.6231 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.005047, allocations: 47.83 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005048, allocations: 0 / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.005083, allocations: 15.98 kB / 0.6232 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.005249, allocations: 6.188 kB / 0.6232 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002012/0.005451, allocations: 134.7 kB / 0.6233 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.794e-05/0.005489, allocations: 59.34 kB / 0.6234 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.005509, allocations: 12.5 kB / 0.6234 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/0.005509, allocations: 0 / 0.6234 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of Templates: time 0.001192/0.006701, allocations: 0.5619 MB / 0.624 GB, free: 8.141 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.798247696831822] Failed to read output from testmodel.py, exit status != 0: 0.010973135940730572 0.018519897 0.014590700000000002 Calling exit ...