Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0007638/0.0007638, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.0009039/0.0009039, allocations: 209.7 kB / 22.25 MB, free: 3.715 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.919/0.919, allocations: 230.6 MB / 256 MB, free: 9.598 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.7655/0.7655, 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.Logical.Validation.Switch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_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.001268/0.001268, allocations: 69.39 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4741, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001553/0.4756, allocations: 0.6816 MB / 0.8185 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.4768, allocations: 1.29 MB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.4769, allocations: 0.5938 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.4769, allocations: 4.453 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.477, allocations: 32 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006184/0.4776, allocations: 299.2 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.4779, allocations: 259.5 kB / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.478, allocations: 11 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.4782, allocations: 100.5 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.4784, allocations: 85.28 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.4784, allocations: 23.03 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.4785, allocations: 30.84 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.4785, allocations: 14.95 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.4787, allocations: 83.17 kB / 0.8206 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.479, allocations: 221.3 kB / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.479, allocations: 0 / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.479, allocations: 4 kB / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.479, allocations: 0 / 0.8208 GB, free: 15.22 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.0006226/0.4796, allocations: 423.9 kB / 0.8212 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.4797, allocations: 10.19 kB / 0.8213 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.4797, allocations: 37.41 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.4798, allocations: 13.98 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.4799, allocations: 119.1 kB / 0.8214 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.4799, allocations: 14.78 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.48, allocations: 19.53 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.4801, allocations: 57.27 kB / 0.8215 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4801, allocations: 0 / 0.8215 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4801, allocations: 7.422 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4801, allocations: 0 / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.4802, allocations: 16.41 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.4807, allocations: 342.6 kB / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.4808, allocations: 39.67 kB / 0.8219 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.4808, allocations: 23.58 kB / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.4808, allocations: 0 / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.481, allocations: 105.9 kB / 0.822 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.481, allocations: 1 kB / 0.822 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002631/0.4813, allocations: 142.3 kB / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.4813, allocations: 54.12 kB / 0.8222 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.4814, allocations: 140.4 kB / 0.8223 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.4815, allocations: 35.11 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.4815, allocations: 92.05 kB / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.4815, allocations: 25.59 kB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.4816, allocations: 67 kB / 0.8225 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.4817, allocations: 324.3 kB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.4819, allocations: 180.6 kB / 0.823 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.482, allocations: 222.2 kB / 0.8232 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.4822, allocations: 247.5 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4822, allocations: 1.375 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004514/0.4827, allocations: 463.9 kB / 0.8239 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.4828, allocations: 101.5 kB / 0.824 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4828, allocations: 6.156 kB / 0.824 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4828, allocations: 3.562 kB / 0.824 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-05/0.4828, allocations: 7.453 kB / 0.824 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4828, allocations: 1.984 kB / 0.824 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.4831, allocations: 83.47 kB / 0.8241 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.4831, allocations: 23.48 kB / 0.8241 GB, free: 12.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.776e-05/0.4832, allocations: 129.9 kB / 0.8243 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.4832, allocations: 8.938 kB / 0.8243 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.4832, allocations: 10.53 kB / 0.8243 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4832, allocations: 2.547 kB / 0.8243 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4832, allocations: 1.344 kB / 0.8243 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4832, allocations: 0.7031 kB / 0.8243 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.4834, allocations: 161.9 kB / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4834, allocations: 3.938 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-06/0.4834, allocations: 6.297 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4834, allocations: 2.031 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.4834, allocations: 2.156 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4834, allocations: 1.406 kB / 0.8245 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4834, allocations: 8.594 kB / 0.8245 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.4835, allocations: 144.4 kB / 0.8246 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.4835, allocations: 6.984 kB / 0.8246 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.4836, allocations: 3 kB / 0.8246 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.599e-05/0.4836, allocations: 2.172 kB / 0.8246 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.4836, allocations: 11.27 kB / 0.8246 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.4836, allocations: 3.719 kB / 0.8246 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.4837, allocations: 105.9 kB / 0.8247 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4837, allocations: 0 / 0.8247 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001875/0.4839, allocations: 47.84 kB / 0.8248 GB, free: 11.97 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000675/0.4845, allocations: 0.6792 MB / 0.8254 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.4849, allocations: 416.2 kB / 0.8258 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4849, allocations: 1.312 kB / 0.8258 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.4849, allocations: 31.89 kB / 0.8259 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.4851, allocations: 33.58 kB / 0.8259 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.4871, allocations: 2.427 MB / 0.8283 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.4871, allocations: 82.2 kB / 0.8283 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.4872, allocations: 14.06 kB / 0.8284 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.4872, allocations: 26.25 kB / 0.8284 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.4872, allocations: 0 / 0.8284 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.5057, allocations: 4.687 MB / 0.833 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/7.373, allocations: 10.3 kB / 0.833 GB, free: 7.727 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.118562639690936] Failed to read output from testmodel.py, exit status != 0: 7.451397336088121 7.463148118 6.98203571 Calling exit ...