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.0008409/0.0008409, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009532/0.0009532, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8758/0.8758, 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.7181/0.7181, allocations: 154.5 MB / 413.7 MB, free: 0.8242 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.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: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.913e-05, allocations: 10.22 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001159/0.001179, allocations: 0.6437 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.001937, allocations: 0.8393 MB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.001967, allocations: 4 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.001992, allocations: 0 / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.002046, allocations: 7.875 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.002223, allocations: 11.98 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.002288, allocations: 27.86 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.002373, allocations: 4 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.00244, allocations: 11.98 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.377e-05/0.002474, allocations: 11.98 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.00249, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-05/0.002533, allocations: 11.92 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.002548, allocations: 4 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.002565, allocations: 8 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.002685, allocations: 31.89 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002688, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.533e-06/0.002689, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.002694, 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.0003958/0.00309, allocations: 254.4 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.00314, allocations: 17.41 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.003176, allocations: 30.75 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/0.003272, allocations: 8.828 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.912e-05/0.003371, allocations: 113.8 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.003384, allocations: 384 / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.003393, allocations: 4.375 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.003541, allocations: 46.23 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.003549, allocations: 192 / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.003558, allocations: 4.375 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.003563, allocations: 4.125 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.003657, allocations: 31.95 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.003985, allocations: 224 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.004073, allocations: 38.59 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.004129, allocations: 20.91 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.00415, allocations: 0 / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.004173, allocations: 38.5 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.004173, allocations: 0 / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002346/0.004408, allocations: 89.62 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.004495, allocations: 55.41 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.478e-05/0.00455, allocations: 97.84 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.00456, allocations: 25.7 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.004592, allocations: 84.14 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.004609, allocations: 7.891 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.004633, allocations: 13.72 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.004703, allocations: 314.8 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.004743, allocations: 19.97 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.004779, allocations: 20.02 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.297e-05/0.004852, allocations: 36.83 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004853, allocations: 0 / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001062/0.00496, allocations: 77.47 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.004973, allocations: 4 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004978, allocations: 96 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.004991, allocations: 4 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.00506, allocations: 11.98 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.005064, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.005089, allocations: 7.984 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.005094, 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 5.212e-05/0.005146, allocations: 110.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.00516, allocations: 11.88 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.005323, allocations: 72.91 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005325, allocations: 0 / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.005328, allocations: 0 / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005331, allocations: 4 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.349e-05/0.005424, allocations: 124.8 kB / 0.6216 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005425, allocations: 0 / 0.6216 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.00545, allocations: 11.98 kB / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.005453, allocations: 3.938 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.005458, allocations: 4 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005459, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00546, allocations: 4.031 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.005579, allocations: 163.7 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.005586, allocations: 7.922 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.005595, allocations: 4 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.00563, allocations: 3.984 kB / 0.6218 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.00566, allocations: 4 kB / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.005663, allocations: 0 / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.856e-05/0.005691, allocations: 87.22 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005691, allocations: 4.031 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001424/0.005834, allocations: 4 kB / 0.6219 GB, free: 9.48 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.0003611/0.006195, allocations: 0.689 MB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.006323, allocations: 39.97 kB / 0.6226 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.006325, allocations: 0 / 0.6226 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.006366, allocations: 24 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.0002064/0.006573, allocations: 6.188 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.0003124/0.006885, allocations: 130.6 kB / 0.6228 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.999e-05/0.006925, allocations: 59.34 kB / 0.6228 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.037e-05/0.006975, allocations: 4 kB / 0.6228 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.00701, allocations: 8.5 kB / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of SimCode: time 3.01e-07/0.00701, allocations: 0 / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.02247, allocations: 1.94 MB / 0.6248 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.711/6.734, allocations: 7.016 kB / 0.6248 GB, free: 6.641 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.414237197488546] Failed to read output from testmodel.py, exit status != 0: 6.816422851756215 6.830461946 6.825743295 Calling exit ...