Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.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.0009738/0.0009738, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008816/0.0008816, allocations: 208.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9668/0.9668, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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.786/0.786, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [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.Validation.Switch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch",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.001317/0.001317, allocations: 69.2 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5949/0.5962, allocations: 102 MB / 0.8174 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001942/0.5981, allocations: 0.7654 MB / 0.8182 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.5994, allocations: 1.17 MB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.5995, allocations: 0 / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.5995, allocations: 4.594 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.135e-05/0.5996, allocations: 13.14 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.6001, allocations: 138.5 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.6003, allocations: 133.4 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.6004, allocations: 11.42 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.6005, allocations: 58.33 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.6006, allocations: 44.41 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.6006, allocations: 12.38 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.228e-05/0.6007, allocations: 22.42 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.6007, allocations: 10.53 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.6008, allocations: 51.45 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.601, allocations: 120.8 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.601, allocations: 1.531 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.601, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.601, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005684/0.6015, allocations: 352.9 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.6016, allocations: 9.594 kB / 0.8203 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.6016, allocations: 35.73 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.6017, allocations: 11.38 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.847e-05/0.6018, allocations: 123.6 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.6018, allocations: 6.703 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.6018, allocations: 3.969 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.602, allocations: 80.33 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.602, allocations: 3.938 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.602, allocations: 0.6562 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.602, allocations: 2.5 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.6022, allocations: 69.2 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.6027, allocations: 288.2 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.6029, allocations: 52.31 kB / 0.8209 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.603, allocations: 44.75 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.603, allocations: 0.5156 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.6033, allocations: 99.59 kB / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.6033, allocations: 0 / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004445/0.6037, allocations: 165 kB / 0.8212 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.6038, allocations: 58.33 kB / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.6039, allocations: 119.6 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.6039, allocations: 30.33 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.6039, allocations: 97.3 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.604, allocations: 13.41 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.604, allocations: 36.97 kB / 0.8215 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6041, allocations: 320.3 kB / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.6043, allocations: 89.47 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.6044, allocations: 121.7 kB / 0.822 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.6047, allocations: 144.1 kB / 0.8222 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.6047, allocations: 0 / 0.8222 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003946/0.6051, allocations: 252.8 kB / 0.8224 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.6051, allocations: 34.98 kB / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6051, allocations: 0 / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6051, allocations: 2.188 kB / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.6053, allocations: 20.47 kB / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6053, allocations: 1.375 kB / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.6054, allocations: 44.41 kB / 0.8225 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.6054, allocations: 9.781 kB / 0.8225 GB, free: 13.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 9.255e-05/0.6055, allocations: 121.9 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.6055, allocations: 3.953 kB / 0.8227 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.6056, allocations: 10.25 kB / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6056, allocations: 2.375 kB / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6056, allocations: 0 / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6056, allocations: 3 kB / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.6057, allocations: 148.2 kB / 0.8228 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6057, allocations: 0 / 0.8228 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.6058, allocations: 19.86 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6058, allocations: 3.906 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.6058, allocations: 3.938 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6058, allocations: 0 / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6058, allocations: 0 / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006054/0.6064, allocations: 159.3 kB / 0.823 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.6064, allocations: 7.891 kB / 0.823 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.6064, allocations: 5.781 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.6064, allocations: 15.53 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.6065, allocations: 7.266 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.6065, allocations: 1.953 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.119e-05/0.6065, allocations: 99.02 kB / 0.8231 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.6065, allocations: 0 / 0.8231 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001668/0.6067, allocations: 22.22 kB / 0.8231 GB, free: 13.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000534/0.6072, allocations: 0.6947 MB / 0.8238 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.6076, allocations: 202.2 kB / 0.824 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6076, allocations: 0 / 0.824 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.6077, allocations: 49.3 kB / 0.8241 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.6079, allocations: 18.5 kB / 0.8241 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.6097, allocations: 1.77 MB / 0.8258 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.6097, allocations: 70.44 kB / 0.8259 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.585e-05/0.6098, allocations: 4.688 kB / 0.8259 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.6098, allocations: 21.12 kB / 0.8259 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.6098, allocations: 4 kB / 0.8259 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.6312, allocations: 3.357 MB / 0.8292 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/7.225, allocations: 2.156 kB / 0.8292 GB, free: 9.793 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.278947312850505] Failed to read output from testmodel.py, exit status != 0: 7.303309389855713 7.312318202 6.709383913 Calling exit ...