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.0008279/0.0008279, 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.0009538/0.0009538, allocations: 169.9 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.9511/0.9511, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7254/0.7254, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.Validation.Asin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.416e-05, allocations: 5.562 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001347/0.001371, allocations: 0.6498 MB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.002166, allocations: 0.8198 MB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.002195, allocations: 0 / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.002221, allocations: 4 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.002281, allocations: 7.938 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.002458, allocations: 15.91 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.802e-05/0.002526, allocations: 23.94 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.002613, allocations: 3.984 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.002678, allocations: 15.94 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.181e-05/0.00271, allocations: 7.984 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.002726, allocations: 4 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.00277, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.002785, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.002805, allocations: 15.97 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.002909, allocations: 27.84 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.002912, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.703e-06/0.002913, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.002918, allocations: 0 / 0.6197 GB, free: 12.02 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.0003696/0.003287, allocations: 258.3 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.003342, allocations: 13.47 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.003374, allocations: 30.75 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.003447, allocations: 8.875 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.371e-05/0.003531, allocations: 105.8 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.003543, allocations: 4.375 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.003553, allocations: 8.375 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.003692, allocations: 42.23 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.003699, allocations: 192 / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.003708, allocations: 8.375 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.003715, allocations: 4.125 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.003808, allocations: 31.91 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.004132, allocations: 212.1 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.905e-05/0.004231, allocations: 38.56 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.00428, allocations: 24.89 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.004304, allocations: 0 / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.00433, allocations: 38.5 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.004331, allocations: 0 / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002404/0.004571, allocations: 89.62 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.004606, allocations: 55.41 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.00467, allocations: 97.86 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.00468, allocations: 25.7 kB / 0.6207 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.004719, allocations: 80.14 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.004738, allocations: 7.938 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.004765, allocations: 21.66 kB / 0.6208 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002504/0.005015, allocations: 314.8 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.319e-05/0.005068, allocations: 15.98 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.005107, allocations: 20.02 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.395e-05/0.005191, allocations: 44.75 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005193, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001065/0.0053, allocations: 69.59 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.005313, allocations: 4 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.005317, allocations: 0 / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.005329, allocations: 4.094 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.005395, allocations: 8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.005401, allocations: 3.984 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.005424, allocations: 7.938 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.005429, allocations: 0 / 0.6213 GB, free: 10.16 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 5.536e-05/0.005484, allocations: 110.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.005498, allocations: 7.938 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.005648, allocations: 76.89 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.005651, allocations: 192 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.005656, allocations: 0 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.005662, allocations: 7.984 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.00577, allocations: 128.7 kB / 0.6216 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.005773, allocations: 4 kB / 0.6216 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.005802, allocations: 4 kB / 0.6216 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.005805, allocations: 3.938 kB / 0.6216 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.005812, allocations: 4 kB / 0.6216 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005813, allocations: 0 / 0.6216 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.005815, allocations: 3.984 kB / 0.6216 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.005954, allocations: 163.5 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.005962, allocations: 11.86 kB / 0.6218 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.005974, allocations: 4 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.00601, allocations: 0 / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.006047, allocations: 7.984 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.006049, allocations: 0 / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.006086, allocations: 83.28 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006086, allocations: 0 / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001476/0.006233, allocations: 8.031 kB / 0.6219 GB, free: 9.469 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 0.0003678/0.006601, allocations: 0.6889 MB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.006756, allocations: 43.89 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.006759, allocations: 0 / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.006801, allocations: 16.08 kB / 0.6226 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.007099, allocations: 10.03 kB / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.007527, allocations: 134.5 kB / 0.6228 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.129e-05/0.007578, allocations: 59.36 kB / 0.6228 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.007607, allocations: 0 / 0.6228 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.007654, allocations: 12.48 kB / 0.6228 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.007655, allocations: 0 / 0.6228 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.02372, allocations: 1.95 MB / 0.6247 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/6.766, allocations: 9.703 kB / 0.6248 GB, free: 6.609 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.540074063465] Failed to read output from testmodel.py, exit status != 0: 6.849718309007585 6.862007521 6.857190494 Calling exit ...