Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008313/0.0008313, 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.001011/0.001011, allocations: 207.6 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.9756/0.9756, allocations: 230.6 MB / 256 MB, free: 9.602 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.7686/0.7686, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.Switch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IDEAS_dev_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.001099/0.001099, allocations: 66.69 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5434, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001958/0.5454, allocations: 0.7731 MB / 0.8186 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.5467, allocations: 1.174 MB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.5467, allocations: 0 / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.086e-05/0.5468, allocations: 4.734 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.646e-05/0.5469, allocations: 16.45 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.5474, allocations: 136 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.5476, allocations: 132.8 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.5477, allocations: 11.36 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.5479, allocations: 50.98 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.548, allocations: 48.78 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.548, allocations: 11.69 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.199e-05/0.548, allocations: 19.59 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.5481, allocations: 19.39 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.5481, allocations: 41.03 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.5483, allocations: 125.6 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5484, allocations: 1.75 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5484, allocations: 0 / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.5484, allocations: 0.5625 kB / 0.8203 GB, free: 15.45 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.0006217/0.549, allocations: 351.9 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.549, allocations: 9.031 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.5491, allocations: 36.36 kB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.5491, allocations: 11.2 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.5492, allocations: 119.2 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5492, allocations: 384 / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.5493, allocations: 11.2 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.5495, allocations: 87.73 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5495, allocations: 3.938 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.5495, allocations: 6.031 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5495, allocations: 0 / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.5497, allocations: 69.36 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.5502, allocations: 273.2 kB / 0.8213 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.5503, allocations: 58.5 kB / 0.8213 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.364e-05/0.5504, allocations: 43.62 kB / 0.8214 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.5505, allocations: 3.938 kB / 0.8214 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.5507, allocations: 94.34 kB / 0.8215 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.5507, allocations: 0 / 0.8215 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003961/0.5511, allocations: 166.4 kB / 0.8216 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.5511, allocations: 56.62 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.5512, allocations: 120.8 kB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5512, allocations: 28.23 kB / 0.8218 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.5513, allocations: 97.81 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.5513, allocations: 22.39 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.5514, allocations: 33.91 kB / 0.822 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.5515, allocations: 326.8 kB / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.5516, allocations: 87.22 kB / 0.8223 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.5518, allocations: 113.3 kB / 0.8225 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.552, allocations: 147.9 kB / 0.8226 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.552, allocations: 0 / 0.8226 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003635/0.5524, allocations: 247.1 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.5524, allocations: 36.81 kB / 0.8229 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5524, allocations: 0 / 0.8229 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.5525, allocations: 2.25 kB / 0.8229 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.5526, allocations: 24.5 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5526, allocations: 0 / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.5527, allocations: 38.69 kB / 0.8229 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.5527, allocations: 5.625 kB / 0.8229 GB, free: 13.39 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 8.403e-05/0.5528, allocations: 121.3 kB / 0.8231 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.5528, allocations: 8.016 kB / 0.8231 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.5528, allocations: 13.59 kB / 0.8231 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5528, allocations: 1.281 kB / 0.8231 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.5528, allocations: 5.109 kB / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5529, allocations: 3.688 kB / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.553, allocations: 143.5 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.553, allocations: 96 / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.553, allocations: 24.5 kB / 0.8232 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.553, allocations: 0.6562 kB / 0.8232 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.553, allocations: 0.75 kB / 0.8232 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.553, allocations: 0 / 0.8232 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.553, allocations: 5.5 kB / 0.8233 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.5533, allocations: 157.3 kB / 0.8234 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.5533, allocations: 10.31 kB / 0.8234 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.5533, allocations: 5.953 kB / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.345e-05/0.5534, allocations: 12.64 kB / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.5534, allocations: 4.969 kB / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.5534, allocations: 2.656 kB / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.5535, allocations: 108.4 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5535, allocations: 0 / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001651/0.5536, allocations: 20.38 kB / 0.8236 GB, free: 12.88 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.0005308/0.5542, allocations: 0.6905 MB / 0.8242 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.5545, allocations: 214.5 kB / 0.8244 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5545, allocations: 0 / 0.8244 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.5546, allocations: 46.06 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.5548, allocations: 9.844 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.5566, allocations: 1.764 MB / 0.8262 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.858e-05/0.5566, allocations: 75.89 kB / 0.8263 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.019e-05/0.5567, allocations: 3.875 kB / 0.8263 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.5567, allocations: 20.84 kB / 0.8263 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.5567, allocations: 0 / 0.8263 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.5785, allocations: 3.36 MB / 0.8296 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.651/7.229, allocations: 12.59 kB / 0.8296 GB, free: 9.586 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.19157768599689] Failed to read output from testmodel.py, exit status != 0: 7.308583532925695 7.318650817 6.768093726 Calling exit ...