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.0008768/0.0008768, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.000896/0.000896, allocations: 162 kB / 22.43 MB, free: 2.141 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.8701/0.8701, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.6805/0.6805, allocations: 155 MB / 414.2 MB, free: 480 kB / 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: 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.0009029/0.0009029, allocations: 67.89 kB / 0.6187 GB, free: 13.21 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.4061/0.407, allocations: 102 MB / 0.7183 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001236/0.4082, allocations: 0.6542 MB / 0.719 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005843/0.4088, allocations: 0.8188 MB / 0.7197 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.4088, allocations: 0 / 0.7197 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.4089, allocations: 0 / 0.7197 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.4089, allocations: 6.141 kB / 0.7198 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.4091, allocations: 17.98 kB / 0.7198 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.4091, allocations: 21.34 kB / 0.7198 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.4092, allocations: 6.047 kB / 0.7198 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.848e-05/0.4093, allocations: 15.23 kB / 0.7198 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.345e-05/0.4093, allocations: 14.98 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.4093, allocations: 1.312 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-05/0.4094, allocations: 7.938 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.4094, allocations: 4.797 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.4094, allocations: 8.031 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.654e-05/0.4095, allocations: 32.66 kB / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4095, allocations: 5.469 kB / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4095, allocations: 0 / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.4095, allocations: 0 / 0.7199 GB, free: 22.1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002707/0.4098, allocations: 264.9 kB / 0.7201 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4098, allocations: 10.47 kB / 0.7201 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.047e-05/0.4098, allocations: 32.42 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.4099, allocations: 7.625 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.143e-05/0.41, allocations: 105.9 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.41, allocations: 5.531 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.41, allocations: 5.5 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.4101, allocations: 53.47 kB / 0.7203 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.4101, allocations: 3.938 kB / 0.7204 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.4101, allocations: 5.469 kB / 0.7204 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4101, allocations: 3.984 kB / 0.7204 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.4102, allocations: 32.66 kB / 0.7204 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.4104, allocations: 210.5 kB / 0.7206 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.445e-05/0.4105, allocations: 36.78 kB / 0.7206 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.483e-05/0.4105, allocations: 31.28 kB / 0.7207 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.4105, allocations: 1.609 kB / 0.7207 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.158e-05/0.4106, allocations: 31.78 kB / 0.7207 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.4106, allocations: 0 / 0.7207 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001993/0.4108, allocations: 80.3 kB / 0.7208 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.4108, allocations: 52.53 kB / 0.7208 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.812e-05/0.4108, allocations: 105.7 kB / 0.7209 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-06/0.4108, allocations: 25.7 kB / 0.7209 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.69e-05/0.4108, allocations: 89.94 kB / 0.721 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.4108, allocations: 5.812 kB / 0.721 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.4109, allocations: 16.78 kB / 0.721 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.359e-05/0.4109, allocations: 312.6 kB / 0.7213 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.4109, allocations: 19.61 kB / 0.7214 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.411, allocations: 17.69 kB / 0.7214 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/0.411, allocations: 45.12 kB / 0.7214 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.411, allocations: 3.938 kB / 0.7214 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.883e-05/0.4111, allocations: 67.2 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4111, allocations: 6.609 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4111, allocations: 0 / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.4112, allocations: 0 / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/0.4112, allocations: 10.05 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.4112, allocations: 4 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.4112, allocations: 10.22 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.4112, allocations: 1.125 kB / 0.7215 GB, free: 20.54 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 (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 3.214e-05/0.4113, allocations: 118 kB / 0.7216 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.4113, allocations: 1.906 kB / 0.7216 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.4114, allocations: 74.72 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.4114, allocations: 0 / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4114, allocations: 5.969 kB / 0.7217 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4114, allocations: 0 / 0.7217 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.674e-05/0.4115, allocations: 124.5 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4115, allocations: 1.188 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.4115, allocations: 8.078 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.4115, allocations: 0.6094 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.4115, allocations: 5.062 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.4115, allocations: 0.7969 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.1e-07/0.4115, allocations: 1.188 kB / 0.7219 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.951e-05/0.4116, allocations: 167 kB / 0.722 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.4116, allocations: 9.109 kB / 0.722 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.4116, allocations: 6.047 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.619e-05/0.4117, allocations: 9.625 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.4117, allocations: 3.609 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.4117, allocations: 1.156 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.3e-05/0.4117, allocations: 80.14 kB / 0.7221 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4117, allocations: 0 / 0.7221 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000134/0.4119, allocations: 3.531 kB / 0.7221 GB, free: 19.98 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 (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.0001862/0.412, allocations: 0.696 MB / 0.7228 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.4122, allocations: 35.16 kB / 0.7228 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.4122, allocations: 5.031 kB / 0.7228 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.4122, allocations: 19 kB / 0.7229 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.4124, allocations: 12.09 kB / 0.7229 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.4126, allocations: 147 kB / 0.723 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.734e-05/0.4127, allocations: 59.62 kB / 0.7231 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.56e-05/0.4127, allocations: 1.984 kB / 0.7231 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.4127, allocations: 10.23 kB / 0.7231 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.4127, allocations: 0 / 0.7231 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.4248, allocations: 1.943 MB / 0.725 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.62/7.045, allocations: 5.047 kB / 0.725 GB, free: 18.15 MB / 0.6355 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.585911141010001] Failed to read output from testmodel.py, exit status != 0: 7.121901301201433 7.131134652 6.719857943 Calling exit ...