Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.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.0008046/0.0008046, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001028/0.001028, allocations: 208.1 kB / 22.25 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.9495/0.9495, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.7947/0.7947, allocations: 203.5 MB / 0.5039 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 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.Reals.Validation.Switch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch",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.0009652/0.0009652, allocations: 73.45 kB / 0.7178 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.536, allocations: 102 MB / 0.8174 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001527/0.5375, allocations: 0.7696 MB / 0.8182 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.5386, allocations: 1.184 MB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.5386, allocations: 0.9375 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.5386, allocations: 4.547 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/0.5387, allocations: 13.08 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.5391, allocations: 135.4 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.5393, allocations: 131.8 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.5394, allocations: 17.45 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.5395, allocations: 53.25 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.5396, allocations: 43.62 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.5396, allocations: 11.78 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.094e-05/0.5397, allocations: 27.8 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.5397, allocations: 8.547 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.5398, allocations: 46.11 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.54, allocations: 124.2 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.54, allocations: 0 / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.825e-06/0.54, allocations: 0 / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.54, allocations: 0.7969 kB / 0.8199 GB, free: 15.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006374/0.5407, allocations: 349.9 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5407, allocations: 12.78 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.5407, allocations: 35.88 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.5408, allocations: 8.828 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/0.5409, allocations: 120.3 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.5409, allocations: 4.516 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.5409, allocations: 10.97 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.5411, allocations: 79.53 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.5411, allocations: 3.938 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.5411, allocations: 3.656 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5411, allocations: 0 / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.5413, allocations: 65.36 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.5418, allocations: 282.9 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.5419, allocations: 58.7 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.542, allocations: 39.08 kB / 0.8209 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.542, allocations: 0.7031 kB / 0.8209 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.5422, allocations: 92.31 kB / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.5422, allocations: 0 / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004066/0.5426, allocations: 177 kB / 0.8212 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.5427, allocations: 54.88 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.5427, allocations: 121.8 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.5428, allocations: 32.7 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.5428, allocations: 95.25 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.5428, allocations: 15.25 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.5429, allocations: 46.55 kB / 0.8215 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.543, allocations: 320.1 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.5431, allocations: 87.25 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.5433, allocations: 116.3 kB / 0.822 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.5435, allocations: 144.4 kB / 0.8222 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5435, allocations: 0 / 0.8222 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003793/0.5439, allocations: 250.3 kB / 0.8224 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.5439, allocations: 32.72 kB / 0.8225 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5439, allocations: 1.625 kB / 0.8225 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.544, allocations: 7.266 kB / 0.8225 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.5441, allocations: 15.53 kB / 0.8225 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.5441, allocations: 6.906 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.5442, allocations: 37.39 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.5442, allocations: 7.219 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.003e-05/0.5443, allocations: 119.3 kB / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.5443, allocations: 8.438 kB / 0.8226 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.5444, allocations: 15.78 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5444, allocations: 0 / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5444, allocations: 1.312 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5444, allocations: 1.031 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.5445, allocations: 144.5 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5445, allocations: 0 / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.5446, allocations: 17.89 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5446, allocations: 1.062 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5446, allocations: 4 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5446, allocations: 1.125 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5446, allocations: 4 kB / 0.8228 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.5448, allocations: 154.7 kB / 0.823 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.5448, allocations: 15.31 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.5448, allocations: 7.188 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.5449, allocations: 10.34 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.5449, allocations: 6.562 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.5449, allocations: 7.25 kB / 0.823 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.545, allocations: 99.58 kB / 0.8231 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.545, allocations: 0 / 0.8231 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001646/0.5452, allocations: 21.38 kB / 0.8231 GB, free: 13.09 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005425/0.5457, allocations: 0.6968 MB / 0.8238 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004089/0.5461, allocations: 207.5 kB / 0.824 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5461, allocations: 0 / 0.824 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.5462, allocations: 48.22 kB / 0.8241 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.5464, allocations: 10.69 kB / 0.8241 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.5485, allocations: 1.768 MB / 0.8258 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.08e-05/0.5486, allocations: 75.8 kB / 0.8259 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.147e-05/0.5486, allocations: 3.484 kB / 0.8259 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.5487, allocations: 21.45 kB / 0.8259 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of SimCode: time 9.61e-07/0.5487, allocations: 0 / 0.8259 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.5679, allocations: 3.373 MB / 0.8292 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.072/7.64, allocations: 1.812 kB / 0.8292 GB, free: 9.773 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.6093834429048] Failed to read output from testmodel.py, exit status != 0: 7.71865487890318 7.73346692 7.190201186 Calling exit ...