Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008554/0.0008554, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008812/0.0008812, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9112/0.9112, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7385/0.7385, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6181 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.859e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001361/0.001379, allocations: 0.6011 MB / 0.6187 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.002431, allocations: 0.847 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.002476, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.002515, allocations: 3.938 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.002585, allocations: 4 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.002804, allocations: 4 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.583e-05/0.002869, allocations: 23.86 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.002911, allocations: 7.984 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.003043, allocations: 23.92 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.003089, allocations: 4 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.003103, allocations: 4 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.869e-05/0.003142, allocations: 4 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.228e-06/0.003151, allocations: 3.984 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.003167, allocations: 3.938 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.738e-05/0.003265, allocations: 27.89 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003266, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003267, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.003271, allocations: 0 / 0.6197 GB, free: 12 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002942/0.003566, allocations: 260.6 kB / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.003603, allocations: 8.031 kB / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.553e-05/0.003628, allocations: 30.75 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.351e-05/0.003722, allocations: 12.92 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.048e-05/0.003792, allocations: 105.8 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.003802, allocations: 384 / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.00381, allocations: 4.375 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.467e-05/0.003905, allocations: 34.25 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.003912, allocations: 192 / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.003921, allocations: 8.312 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.003927, allocations: 4.125 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.797e-05/0.003965, allocations: 11.98 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.004079, allocations: 124.8 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.004133, allocations: 26.61 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.004161, allocations: 12.91 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.004175, allocations: 0 / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.004198, allocations: 30.56 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.004198, allocations: 0 / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.004353, allocations: 65.52 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.004466, allocations: 55.34 kB / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.00453, allocations: 109.8 kB / 0.6205 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.00454, allocations: 25.7 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.00457, allocations: 84.14 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.004597, allocations: 7.938 kB / 0.6206 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.004622, allocations: 9.719 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.004703, allocations: 314.8 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.004727, allocations: 4.125 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.841e-05/0.004746, allocations: 19.98 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.004789, allocations: 16.8 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.004791, allocations: 0 / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.242e-05/0.004853, allocations: 49.67 kB / 0.621 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.004868, allocations: 4 kB / 0.621 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.004873, allocations: 4 kB / 0.621 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.004886, allocations: 0 / 0.621 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.446e-05/0.00494, allocations: 8.031 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.004946, allocations: 4 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.004961, allocations: 4.234 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.004967, allocations: 0 / 0.6211 GB, free: 10.38 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 (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 5.451e-05/0.005022, allocations: 110.8 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-06/0.005027, allocations: 3.953 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.005046, allocations: 15.11 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.005048, allocations: 0 / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.005053, allocations: 3.938 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.005057, allocations: 4 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.978e-05/0.005126, allocations: 120.8 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.005129, allocations: 4 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.005142, allocations: 0 / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.005143, allocations: 3.938 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.005151, allocations: 4 kB / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005152, allocations: 0 / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.005156, allocations: 11.91 kB / 0.6213 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.134e-05/0.005227, allocations: 65.12 kB / 0.6214 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.005234, allocations: 4 kB / 0.6214 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.005243, allocations: 7.969 kB / 0.6214 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.005254, allocations: 4 kB / 0.6214 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.00528, allocations: 7.922 kB / 0.6214 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.005281, allocations: 4 kB / 0.6214 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.442e-05/0.005306, allocations: 79.28 kB / 0.6215 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005306, allocations: 0 / 0.6215 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001203/0.005426, allocations: 0 / 0.6215 GB, free: 9.863 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 (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.0002428/0.005669, allocations: 0.6046 MB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.362e-05/0.005753, allocations: 24.02 kB / 0.6221 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005754, allocations: 3.938 kB / 0.6221 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.005771, allocations: 4 kB / 0.6221 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.005877, allocations: 15.92 kB / 0.6221 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.006155, allocations: 126.5 kB / 0.6223 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.006188, allocations: 55.36 kB / 0.6223 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.006206, allocations: 128 / 0.6223 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.006237, allocations: 20.48 kB / 0.6223 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.006237, allocations: 0 / 0.6223 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.02037, allocations: 1.752 MB / 0.624 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.83, allocations: 5 kB / 0.624 GB, free: 7.305 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.63602530863136] Failed to read output from testmodel.py, exit status != 0: 6.910943245515227 6.922364941 6.916539128 Calling exit ...