Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0007706/0.0007706, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008546/0.0008546, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8918/0.8918, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7069/0.7069, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.841e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001322/0.00135, allocations: 0.6566 MB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.00213, allocations: 0.8393 MB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.002166, allocations: 3.938 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.002196, allocations: 7.922 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.002254, allocations: 4 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.002436, allocations: 7.938 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.774e-05/0.002504, allocations: 27.92 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.002594, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.002664, allocations: 31.84 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.228e-05/0.002697, allocations: 3.984 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.002711, allocations: 8 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.002751, allocations: 4 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.002765, allocations: 4 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.002782, allocations: 4 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.002882, allocations: 31.88 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.002886, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002887, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.002891, allocations: 0 / 0.6197 GB, free: 12.04 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.0003743/0.003265, allocations: 258.3 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.003306, allocations: 17.47 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.003335, allocations: 30.75 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.003397, allocations: 4.891 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.003474, allocations: 113.8 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.003485, allocations: 384 / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.003492, allocations: 384 / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.003614, allocations: 50.23 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003621, allocations: 4.125 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.003631, allocations: 4.375 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.003637, allocations: 4.125 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.003724, allocations: 31.97 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.004004, allocations: 212.1 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.906e-05/0.004083, allocations: 38.55 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.004127, allocations: 20.91 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.004143, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.004165, allocations: 42.42 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.004166, allocations: 4 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002057/0.004371, allocations: 81.61 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.0044, allocations: 55.39 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.004451, allocations: 101.9 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.004465, allocations: 25.7 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.004493, allocations: 80.14 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.004506, allocations: 3.953 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.004532, allocations: 21.7 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.0046, allocations: 315 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.004642, allocations: 23.92 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.423e-05/0.004676, allocations: 19.86 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.338e-05/0.00475, allocations: 40.81 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004751, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.247e-05/0.004844, allocations: 69.67 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.004857, allocations: 6.188 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.004861, allocations: 3.984 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.004871, allocations: 0 / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/0.004936, allocations: 8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.00494, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.004965, allocations: 15.92 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.004969, allocations: 0 / 0.6213 GB, free: 10.17 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.746e-05/0.005016, allocations: 110.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.005029, allocations: 11.97 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.005214, allocations: 68.97 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.005216, allocations: 0 / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.00522, allocations: 3.984 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.005222, allocations: 0 / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.046e-05/0.005313, allocations: 124.8 kB / 0.6216 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005314, allocations: 0 / 0.6216 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.005339, allocations: 11.98 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.005342, allocations: 7.969 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.005348, allocations: 4 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005349, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.00535, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.005464, allocations: 163.4 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.005471, allocations: 3.938 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.005481, allocations: 3.984 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.005517, allocations: 4 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.005547, allocations: 16.02 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.005549, allocations: 0 / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.306e-05/0.005572, allocations: 79.28 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005572, allocations: 0 / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001436/0.005716, allocations: 4 kB / 0.6219 GB, free: 9.484 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.000296/0.006012, allocations: 0.6928 MB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.006131, allocations: 39.98 kB / 0.6226 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006132, allocations: 4 kB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.006172, allocations: 19.92 kB / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.006385, allocations: 4 kB / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.006687, allocations: 126.6 kB / 0.6228 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.006727, allocations: 67.28 kB / 0.6229 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.768e-05/0.006745, allocations: 4.125 kB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.006775, allocations: 16.44 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.006776, allocations: 0 / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.01969, allocations: 1.932 MB / 0.6248 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/6.918, allocations: 8.938 kB / 0.6248 GB, free: 6.629 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.664856933057308] Failed to read output from testmodel.py, exit status != 0: 7.001472079195082 7.01405195 7.009282263 Calling exit ...