Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000808/0.000808, 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.0007519/0.0007519, 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.9035/0.9035, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7339/0.7339, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.395e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00181/0.001833, allocations: 0.9475 MB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.003883, allocations: 1.357 MB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.871e-05/0.003972, allocations: 8 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.004089, allocations: 27.67 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.903e-05/0.004178, allocations: 39.66 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.004896, allocations: 281.4 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.00531, allocations: 395.1 kB / 0.6211 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.005518, allocations: 41.73 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003748/0.005893, allocations: 215.7 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.00611, allocations: 111.7 kB / 0.6214 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.006167, allocations: 36 kB / 0.6215 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.006289, allocations: 43.98 kB / 0.6215 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.006384, allocations: 59.77 kB / 0.6216 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.006508, allocations: 107.7 kB / 0.6217 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.007, allocations: 434.8 kB / 0.6221 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.007004, allocations: 3.984 kB / 0.6221 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.445e-06/0.007007, allocations: 4 kB / 0.6221 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.007015, allocations: 0 / 0.6221 GB, free: 9.609 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.0008691/0.007884, allocations: 0.5458 MB / 0.6226 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.00793, allocations: 8.031 kB / 0.6226 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.007974, allocations: 50.73 kB / 0.6227 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.008267, allocations: 72.72 kB / 0.6227 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.008932, allocations: 308.8 kB / 0.623 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.008961, allocations: 16.36 kB / 0.623 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.008996, allocations: 20.38 kB / 0.6231 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.00928, allocations: 198.4 kB / 0.6233 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.009289, allocations: 4.188 kB / 0.6233 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.009301, allocations: 4.375 kB / 0.6233 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.009309, allocations: 11.92 kB / 0.6233 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.009608, allocations: 139.8 kB / 0.6234 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.0107, allocations: 0.8127 MB / 0.6242 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.01093, allocations: 149 kB / 0.6243 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.01106, allocations: 80.23 kB / 0.6244 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.01107, allocations: 8 kB / 0.6244 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.0114, allocations: 163.5 kB / 0.6246 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.0114, allocations: 4 kB / 0.6246 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0004908/0.01189, allocations: 261.7 kB / 0.6248 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.01195, allocations: 158.2 kB / 0.625 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.0121, allocations: 225.7 kB / 0.6252 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.01213, allocations: 37.64 kB / 0.6252 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.01221, allocations: 152.4 kB / 0.6254 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.01223, allocations: 36.02 kB / 0.6254 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.01231, allocations: 57.69 kB / 0.6255 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.01239, allocations: 330.8 kB / 0.6258 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.01259, allocations: 167.3 kB / 0.6259 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.01282, allocations: 288.1 kB / 0.6262 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/0.01338, allocations: 270.9 kB / 0.6265 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01338, allocations: 7.938 kB / 0.6265 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004906/0.01387, allocations: 447.9 kB / 0.6269 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.01391, allocations: 67.41 kB / 0.627 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01392, allocations: 4.219 kB / 0.627 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01393, allocations: 4.094 kB / 0.627 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.01402, allocations: 23.97 kB / 0.627 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.01402, allocations: 7.984 kB / 0.627 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.01422, allocations: 67.91 kB / 0.6271 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.01425, allocations: 19.98 kB / 0.6271 GB, free: 3.992 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 0.0001049/0.01435, allocations: 154.7 kB / 0.6272 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.01437, allocations: 23.8 kB / 0.6273 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.01441, allocations: 25.33 kB / 0.6273 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01441, allocations: 0 / 0.6273 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.01442, allocations: 4 kB / 0.6273 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01442, allocations: 0 / 0.6273 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01457, allocations: 220.6 kB / 0.6275 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01457, allocations: 4 kB / 0.6275 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.01464, allocations: 31.91 kB / 0.6275 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01464, allocations: 0 / 0.6275 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01465, allocations: 4 kB / 0.6275 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01465, allocations: 0 / 0.6275 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.01465, allocations: 4 kB / 0.6276 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.01494, allocations: 247.8 kB / 0.6278 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.01497, allocations: 15.91 kB / 0.6278 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.01498, allocations: 8 kB / 0.6278 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.01504, allocations: 19.97 kB / 0.6278 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.01509, allocations: 19.97 kB / 0.6278 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.01509, allocations: 4 kB / 0.6279 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.969e-05/0.01518, allocations: 161.2 kB / 0.628 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01518, allocations: 0 / 0.628 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000204/0.01539, allocations: 59.89 kB / 0.6281 GB, free: 2.926 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.0005067/0.0159, allocations: 0.7678 MB / 0.6288 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.01632, allocations: 385.9 kB / 0.6292 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01632, allocations: 0 / 0.6292 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.01644, allocations: 68.5 kB / 0.6292 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.01668, allocations: 62.53 kB / 0.6293 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.01905, allocations: 2.82 MB / 0.6321 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.491e-05/0.01914, allocations: 132.9 kB / 0.6322 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.646e-05/0.01924, allocations: 41.98 kB / 0.6322 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.01931, allocations: 60.48 kB / 0.6323 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.01931, allocations: 0 / 0.6323 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.03676, allocations: 6.211 MB / 0.6384 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.581/6.618, allocations: 7.969 kB / 0.6384 GB, free: 8.309 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.326099597848952] Failed to read output from testmodel.py, exit status != 0: 6.702253484167159 6.713898359 6.705016722 Calling exit ...