Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0008215/0.0008215, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009987/0.0009987, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9987/0.9987, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.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.7823/0.7823, allocations: 203.8 MB / 0.5042 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 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.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.001293/0.001293, allocations: 63.5 kB / 0.7183 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5982/0.5994, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001347/0.6008, allocations: 0.5771 MB / 0.8185 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.194e-05/0.6008, allocations: 4 kB / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.6009, allocations: 2.219 kB / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.6009, allocations: 0 / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.771e-05/0.6009, allocations: 0 / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.229e-05/0.6009, allocations: 0 / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.761e-05/0.601, allocations: 8.281 kB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.6011, allocations: 2.469 kB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.6011, allocations: 0 / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.109e-05/0.6011, allocations: 0.5156 kB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.6011, allocations: 10.69 kB / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-06/0.6011, allocations: 0 / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.6011, allocations: 0 / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.6011, allocations: 3.938 kB / 0.8185 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.546e-05/0.6012, allocations: 5.734 kB / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6012, allocations: 2.031 kB / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.195e-06/0.6012, allocations: 0 / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.6012, allocations: 3.938 kB / 0.8185 GB, free: 0.8672 MB / 0.6042 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.0002105/0.6014, allocations: 239.3 kB / 0.8187 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.6015, allocations: 10.5 kB / 0.8187 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.057e-05/0.6015, allocations: 34.75 kB / 0.8188 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.6015, allocations: 3.438 kB / 0.8188 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.649e-05/0.6016, allocations: 107.8 kB / 0.8189 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.6016, allocations: 384 / 0.8189 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.6016, allocations: 2.875 kB / 0.8189 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.717e-05/0.6017, allocations: 26.97 kB / 0.8189 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.6017, allocations: 3.938 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.6017, allocations: 1.312 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.6017, allocations: 1.078 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.377e-05/0.6017, allocations: 11.12 kB / 0.8189 GB, free: 404 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.6019, allocations: 353 kB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.842e-05/0.602, allocations: 169.1 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.602, allocations: 80.75 kB / 0.8195 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.602, allocations: 79.28 kB / 0.8196 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.602, allocations: 114.4 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.602, allocations: 0 / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.345e-05/0.6021, allocations: 30.39 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.6022, allocations: 126.7 kB / 0.8198 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.6022, allocations: 94.28 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.6022, allocations: 25.7 kB / 0.8199 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.6023, allocations: 85.11 kB / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.6023, allocations: 0 / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.6023, allocations: 15.72 kB / 0.82 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.6024, allocations: 311.8 kB / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-06/0.6024, allocations: 1.031 kB / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-06/0.6024, allocations: 0 / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.6024, allocations: 79.06 kB / 0.8204 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/0.6024, allocations: 79.22 kB / 0.8205 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.83e-05/0.6024, allocations: 39.17 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.6025, allocations: 83.12 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.6025, allocations: 75.94 kB / 0.8207 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.997e-05/0.6026, allocations: 163.3 kB / 0.8208 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.057e-05/0.6026, allocations: 75.89 kB / 0.8209 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.911e-05/0.6026, allocations: 157.2 kB / 0.8211 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.6027, allocations: 83.92 kB / 0.8211 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.6027, allocations: 83.12 kB / 0.8212 GB, free: 13.95 MB / 0.6198 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 (0): * Single equations (assignments): 0 * 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 8.445e-05/0.6028, allocations: 265.1 kB / 0.8215 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.6028, allocations: 106.3 kB / 0.8216 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.6028, allocations: 108.5 kB / 0.8217 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.697e-05/0.6029, allocations: 183.3 kB / 0.8218 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.815e-05/0.6029, allocations: 185 kB / 0.822 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.644e-05/0.603, allocations: 183.1 kB / 0.8222 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.6031, allocations: 375.8 kB / 0.8226 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/0.6032, allocations: 108.7 kB / 0.8227 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.6032, allocations: 102.1 kB / 0.8228 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.005e-05/0.6032, allocations: 189 kB / 0.8229 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.982e-05/0.6033, allocations: 183.7 kB / 0.8231 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.864e-05/0.6033, allocations: 181 kB / 0.8233 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-05/0.6034, allocations: 177.2 kB / 0.8235 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.6035, allocations: 313.8 kB / 0.8238 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.6035, allocations: 104.2 kB / 0.8239 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.6036, allocations: 182 kB / 0.824 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.024e-05/0.6036, allocations: 110.9 kB / 0.8241 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.6037, allocations: 181 kB / 0.8243 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.6037, allocations: 103.5 kB / 0.8244 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.6037, allocations: 83.25 kB / 0.8245 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6037, allocations: 0 / 0.8245 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001591/0.6039, allocations: 0 / 0.8245 GB, free: 10.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003157/0.6042, allocations: 0.8085 MB / 0.8253 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.798e-05/0.6043, allocations: 4 kB / 0.8253 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6043, allocations: 0 / 0.8253 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.6043, allocations: 1.938 kB / 0.8253 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.6045, allocations: 458.5 kB / 0.8257 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/0.6053, allocations: 1.528 MB / 0.8272 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.6055, allocations: 0.6746 MB / 0.8279 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.458e-06/0.6055, allocations: 0 / 0.8279 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.6056, allocations: 10.03 kB / 0.8279 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.6056, allocations: 0 / 0.8279 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.6198, allocations: 1.008 MB / 0.8289 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.359/6.979, allocations: 16.09 kB / 0.8289 GB, free: 6.496 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant_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_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.041818507015705] Failed to read output from testmodel.py, exit status != 0: 7.056418624939397 7.068841743 6.464806273 Calling exit ...