Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.0007545/0.0007545, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008283/0.0008283, allocations: 209.2 kB / 22.24 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.9798/0.9798, allocations: 230.6 MB / 256 MB, free: 9.586 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.7783/0.7783, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.Validation.Log,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",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.0008915/0.0008915, allocations: 75.45 kB / 0.7182 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5188, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001386/0.5202, allocations: 0.6575 MB / 0.8185 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000633/0.5208, allocations: 0.8422 MB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.5208, allocations: 0 / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.5209, allocations: 11.22 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.5209, allocations: 0.7031 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.5211, allocations: 14.08 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.5212, allocations: 24.34 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.5213, allocations: 1.641 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.5213, allocations: 9.156 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.5214, allocations: 9.75 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.5214, allocations: 4.406 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.305e-05/0.5214, allocations: 11.36 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.5214, allocations: 4.938 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.5215, allocations: 15.19 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.5216, allocations: 26.45 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5216, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5216, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.5216, allocations: 0 / 0.8194 GB, free: 15.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003416/0.5219, allocations: 265.2 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.5219, allocations: 9.781 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.522, allocations: 31.45 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.5221, allocations: 2.328 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.5224, allocations: 109.7 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.5224, allocations: 6.141 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.5224, allocations: 5.781 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.5226, allocations: 49.75 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5226, allocations: 3.938 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.5226, allocations: 4 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5226, allocations: 0 / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.5227, allocations: 34.02 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.523, allocations: 210.2 kB / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.819e-05/0.5231, allocations: 54.17 kB / 0.8202 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.5231, allocations: 22.27 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.5231, allocations: 0.6562 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.5231, allocations: 37.59 kB / 0.8202 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.5231, allocations: 0 / 0.8202 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002324/0.5234, allocations: 84.59 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.5234, allocations: 51.41 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.244e-05/0.5235, allocations: 100.2 kB / 0.8205 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.5235, allocations: 31.52 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.5235, allocations: 84.83 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.5235, allocations: 5.219 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.5235, allocations: 19.89 kB / 0.8206 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.5236, allocations: 311.4 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.5237, allocations: 15.94 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.5237, allocations: 24.39 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.5238, allocations: 37.42 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5238, allocations: 3.938 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.961e-05/0.5239, allocations: 64.89 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5239, allocations: 10.03 kB / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5239, allocations: 0.75 kB / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.5239, allocations: 4.094 kB / 0.821 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.524, allocations: 14.45 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.524, allocations: 0.5156 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.524, allocations: 5.953 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.524, allocations: 0 / 0.8211 GB, free: 14.36 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 (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 5.209e-05/0.5241, allocations: 117.7 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.5241, allocations: 0.6094 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.5242, allocations: 79.86 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5242, allocations: 0 / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5242, allocations: 0 / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.5242, allocations: 2.266 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.819e-05/0.5243, allocations: 128.1 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.5243, allocations: 0 / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.5243, allocations: 9.422 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.5243, allocations: 0 / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.5243, allocations: 11.72 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5243, allocations: 0.5625 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.5243, allocations: 0 / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.5245, allocations: 162.1 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.5245, allocations: 5.422 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.5245, allocations: 4.359 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.5245, allocations: 9.547 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.5245, allocations: 5.906 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.5245, allocations: 0 / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.554e-05/0.5246, allocations: 80.89 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5246, allocations: 0 / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001348/0.5247, allocations: 6.531 kB / 0.8217 GB, free: 13.8 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 (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.0002933/0.525, allocations: 0.6946 MB / 0.8223 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.5251, allocations: 36.28 kB / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5251, allocations: 0 / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.5252, allocations: 23.3 kB / 0.8224 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.5254, allocations: 3.297 kB / 0.8224 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.5257, allocations: 132.8 kB / 0.8225 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.381e-05/0.5257, allocations: 71.81 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.791e-05/0.5257, allocations: 3.469 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.5258, allocations: 8.094 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.5258, allocations: 0 / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.5405, allocations: 1.807 MB / 0.8244 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.591/7.131, allocations: 16.08 kB / 0.8244 GB, free: 12.03 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log_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_Log.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.151558605954051] Failed to read output from testmodel.py, exit status != 0: 7.2081440119072795 7.218822883 6.695095751 Calling exit ...