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.0007602/0.0007602, 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.0007723/0.0007723, 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.874/0.874, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.7164/0.7164, allocations: 155 MB / 414.2 MB, free: 476 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.Sources.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",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.0009459/0.0009459, allocations: 68.94 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.4413/0.4423, allocations: 102 MB / 0.7183 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001965/0.4443, allocations: 0.599 MB / 0.7189 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008756/0.4451, allocations: 0.8486 MB / 0.7197 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.4452, allocations: 0 / 0.7197 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.4452, allocations: 0 / 0.7197 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.4452, allocations: 5.375 kB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.4454, allocations: 12.33 kB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.713e-05/0.4455, allocations: 17.83 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.4456, allocations: 2.25 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.4457, allocations: 23.31 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.4458, allocations: 9.078 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4458, allocations: 1.312 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.506e-05/0.4458, allocations: 6.5 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.4458, allocations: 6.234 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.4459, allocations: 6.156 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.446, allocations: 25.41 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.446, allocations: 0 / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.446, allocations: 0 / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.446, allocations: 0 / 0.7198 GB, free: 22.08 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.0003254/0.4463, allocations: 255 kB / 0.7201 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4464, allocations: 11.03 kB / 0.7201 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.4464, allocations: 30.75 kB / 0.7201 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.4465, allocations: 19.58 kB / 0.7201 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.464e-05/0.4466, allocations: 112.7 kB / 0.7202 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.4466, allocations: 6.375 kB / 0.7202 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.4466, allocations: 384 / 0.7202 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4467, allocations: 39.73 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4467, allocations: 7.875 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4467, allocations: 0.5625 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4467, allocations: 0 / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.4468, allocations: 11.23 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.4469, allocations: 131.1 kB / 0.7204 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.473e-05/0.4469, allocations: 30.47 kB / 0.7204 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.447, allocations: 11.23 kB / 0.7205 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.447, allocations: 1.406 kB / 0.7205 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.447, allocations: 32.55 kB / 0.7205 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.447, allocations: 0 / 0.7205 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001734/0.4472, allocations: 55.11 kB / 0.7205 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.4472, allocations: 53.28 kB / 0.7206 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.69e-05/0.4473, allocations: 110.3 kB / 0.7207 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.4473, allocations: 26.31 kB / 0.7207 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.4473, allocations: 81.97 kB / 0.7208 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.4473, allocations: 5.078 kB / 0.7208 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.4473, allocations: 15.5 kB / 0.7208 GB, free: 21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.985e-05/0.4474, allocations: 318.7 kB / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.4474, allocations: 4.641 kB / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.4474, allocations: 11.39 kB / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.4474, allocations: 21.36 kB / 0.7212 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4474, allocations: 1.156 kB / 0.7212 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.422e-05/0.4475, allocations: 45.95 kB / 0.7212 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4475, allocations: 9.938 kB / 0.7212 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4475, allocations: 0 / 0.7212 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4475, allocations: 1.094 kB / 0.7212 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.4476, allocations: 5.469 kB / 0.7212 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4476, allocations: 0 / 0.7212 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.4476, allocations: 6.297 kB / 0.7212 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.4476, allocations: 5.188 kB / 0.7212 GB, free: 20.62 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.485e-05/0.4477, allocations: 111 kB / 0.7213 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-06/0.4477, allocations: 5.797 kB / 0.7213 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.4477, allocations: 12.73 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4477, allocations: 0 / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4477, allocations: 0 / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4477, allocations: 5.922 kB / 0.7214 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.6e-05/0.4478, allocations: 118.3 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4478, allocations: 0.6094 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.4478, allocations: 4.797 kB / 0.7215 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4478, allocations: 8.188 kB / 0.7215 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4478, allocations: 1.609 kB / 0.7215 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.4478, allocations: 4 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4478, allocations: 4.734 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.956e-05/0.4479, allocations: 73.28 kB / 0.7216 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.4479, allocations: 10.16 kB / 0.7216 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.4479, allocations: 5.031 kB / 0.7216 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.4479, allocations: 1.766 kB / 0.7216 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.4479, allocations: 6.734 kB / 0.7216 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.4479, allocations: 0 / 0.7216 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.833e-05/0.4479, allocations: 85.84 kB / 0.7217 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4479, allocations: 0 / 0.7217 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001162/0.4481, allocations: 2.25 kB / 0.7217 GB, free: 20.16 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.0002154/0.4483, allocations: 0.6086 MB / 0.7223 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.17e-05/0.4484, allocations: 14.22 kB / 0.7223 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4484, allocations: 3.938 kB / 0.7223 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.307e-05/0.4484, allocations: 16.5 kB / 0.7223 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.4485, allocations: 1.031 kB / 0.7223 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.4488, allocations: 131.5 kB / 0.7224 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.477e-05/0.4489, allocations: 58.17 kB / 0.7225 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.4489, allocations: 1.766 kB / 0.7225 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.4489, allocations: 9.25 kB / 0.7225 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.4489, allocations: 1.125 kB / 0.7225 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.4646, allocations: 1.748 MB / 0.7242 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.372/6.837, allocations: 1.125 kB / 0.7242 GB, free: 18.44 MB / 0.6355 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.466655244119465] Failed to read output from testmodel.py, exit status != 0: 6.9134574378840625 6.923886581 6.475857019 Calling exit ...