Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001094/0.001094, 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.001322/0.001322, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8669/0.8669, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.709/0.709, allocations: 154.6 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.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 3.984 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.12e-05, allocations: 10.12 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001443/0.001464, allocations: 0.9405 MB / 0.619 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.002883, allocations: 1.367 MB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.002951, allocations: 8 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.003052, allocations: 19.75 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.748e-05/0.003129, allocations: 47.64 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.003695, allocations: 266.2 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.003992, allocations: 391.1 kB / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.004121, allocations: 41.78 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.004311, allocations: 215.6 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.004437, allocations: 111.7 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.004474, allocations: 36 kB / 0.6214 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-05/0.004556, allocations: 51.86 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.004621, allocations: 63.77 kB / 0.6215 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.403e-05/0.004705, allocations: 99.8 kB / 0.6216 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.005011, allocations: 442.7 kB / 0.622 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005013, allocations: 3.938 kB / 0.622 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.81e-07/0.005014, allocations: 0 / 0.622 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.005018, allocations: 0 / 0.622 GB, free: 9.676 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006328/0.005651, allocations: 0.5433 MB / 0.6225 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.005691, allocations: 13.47 kB / 0.6226 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.005727, allocations: 46.73 kB / 0.6226 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.005962, allocations: 80.69 kB / 0.6227 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.006486, allocations: 304.8 kB / 0.623 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.006506, allocations: 12.38 kB / 0.623 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.006535, allocations: 20.38 kB / 0.623 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.006816, allocations: 202.4 kB / 0.6232 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.006824, allocations: 192 / 0.6232 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.006837, allocations: 4.375 kB / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.006843, allocations: 11.88 kB / 0.6232 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.007093, allocations: 143.8 kB / 0.6233 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.007781, allocations: 0.8166 MB / 0.6241 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.007944, allocations: 148.9 kB / 0.6243 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.008051, allocations: 76.25 kB / 0.6244 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.008066, allocations: 12 kB / 0.6244 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.008357, allocations: 168.8 kB / 0.6245 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.008358, allocations: 0 / 0.6245 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0004575/0.008816, allocations: 257.4 kB / 0.6248 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.008871, allocations: 162.2 kB / 0.6249 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.009013, allocations: 225.7 kB / 0.6251 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.009036, allocations: 37.7 kB / 0.6252 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.00911, allocations: 152.3 kB / 0.6253 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.009132, allocations: 36.06 kB / 0.6254 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.009196, allocations: 53.69 kB / 0.6254 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.009272, allocations: 326.8 kB / 0.6257 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.009464, allocations: 167.3 kB / 0.6259 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.009811, allocations: 290.3 kB / 0.6262 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.0101, allocations: 274.9 kB / 0.6264 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.0101, allocations: 0 / 0.6264 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004691/0.01057, allocations: 447.9 kB / 0.6268 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.01061, allocations: 67.39 kB / 0.6269 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.01062, allocations: 4.219 kB / 0.6269 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.01063, allocations: 4 kB / 0.6269 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.01071, allocations: 31.91 kB / 0.627 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.01072, allocations: 0 / 0.627 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.01091, allocations: 75.84 kB / 0.627 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.01093, allocations: 16 kB / 0.627 GB, free: 4.051 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.851e-05/0.01102, allocations: 154.7 kB / 0.6272 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.01104, allocations: 23.8 kB / 0.6272 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.01108, allocations: 21.34 kB / 0.6272 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01108, allocations: 3.984 kB / 0.6272 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.01108, allocations: 4 kB / 0.6272 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01109, allocations: 480 / 0.6272 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.01123, allocations: 220.5 kB / 0.6274 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01124, allocations: 4 kB / 0.6275 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.01129, allocations: 27.97 kB / 0.6275 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.0113, allocations: 4 kB / 0.6275 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.01131, allocations: 0 / 0.6275 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.01131, allocations: 7.984 kB / 0.6275 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01131, allocations: 3.938 kB / 0.6275 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.01159, allocations: 240.2 kB / 0.6277 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.01161, allocations: 15.89 kB / 0.6277 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.01163, allocations: 8 kB / 0.6277 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.01169, allocations: 19.97 kB / 0.6278 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.01174, allocations: 23.86 kB / 0.6278 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.01174, allocations: 4 kB / 0.6278 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.203e-05/0.01183, allocations: 165.2 kB / 0.6279 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01183, allocations: 0 / 0.6279 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002029/0.01204, allocations: 51.89 kB / 0.628 GB, free: 2.984 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005123/0.01255, allocations: 0.7747 MB / 0.6288 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.01298, allocations: 381.9 kB / 0.6291 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01299, allocations: 3.938 kB / 0.6291 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.01312, allocations: 72.5 kB / 0.6292 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.01334, allocations: 52.45 kB / 0.6292 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.01584, allocations: 2.822 MB / 0.632 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.753e-05/0.01592, allocations: 136.8 kB / 0.6321 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.275e-05/0.01601, allocations: 37.62 kB / 0.6322 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.01608, allocations: 68.47 kB / 0.6322 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.01608, allocations: 0 / 0.6322 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.0351, allocations: 6.225 MB / 0.6383 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.074, allocations: 3.75 kB / 0.6383 GB, free: 8.363 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.683938454836607] Failed to read output from testmodel.py, exit status != 0: 7.155403449200094 7.165293159 7.158640542 Calling exit ...