Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00101/0.00101, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001315/0.001315, allocations: 165.9 kB / 22.45 MB, free: 2.117 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.9298/0.9298, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7327/0.7327, 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.Logical.Validation.Switch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.598e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00139/0.001416, allocations: 0.6739 MB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.002687, allocations: 1.295 MB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.002732, allocations: 0 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.002761, allocations: 7.875 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.002839, allocations: 19.8 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.003447, allocations: 316.5 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.003683, allocations: 255.5 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.003793, allocations: 12.17 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.003933, allocations: 143.8 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.004217, allocations: 75.8 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.004252, allocations: 27.98 kB / 0.6209 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.004326, allocations: 32 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.004349, allocations: 11.98 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.318e-05/0.004422, allocations: 75.86 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.004649, allocations: 267.4 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.004652, allocations: 4 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004653, allocations: 0 / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004657, allocations: 0 / 0.6212 GB, free: 10.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004376/0.005095, allocations: 423.1 kB / 0.6216 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.005138, allocations: 8.031 kB / 0.6216 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.005167, allocations: 38.75 kB / 0.6217 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.005214, allocations: 12.89 kB / 0.6217 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.005305, allocations: 125.7 kB / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.005327, allocations: 4.375 kB / 0.6218 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.005355, allocations: 20.31 kB / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.005459, allocations: 54.23 kB / 0.6219 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005466, allocations: 4.188 kB / 0.6219 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.005475, allocations: 384 / 0.6219 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.00548, allocations: 3.938 kB / 0.6219 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.005522, allocations: 23.98 kB / 0.6219 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.005923, allocations: 339.8 kB / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.823e-05/0.005981, allocations: 42.38 kB / 0.6223 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.006008, allocations: 16.86 kB / 0.6223 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.006019, allocations: 4 kB / 0.6223 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.006177, allocations: 99.44 kB / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.006178, allocations: 4 kB / 0.6224 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002506/0.006429, allocations: 145.5 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.00646, allocations: 51.41 kB / 0.6226 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.00654, allocations: 144.3 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.006567, allocations: 37.69 kB / 0.6228 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.006619, allocations: 104.1 kB / 0.6229 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.006632, allocations: 11.91 kB / 0.6229 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.006708, allocations: 69.67 kB / 0.6229 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.006785, allocations: 318.8 kB / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.006952, allocations: 177 kB / 0.6234 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.00712, allocations: 228.9 kB / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.007308, allocations: 243 kB / 0.6239 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.007311, allocations: 3.938 kB / 0.6239 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004105/0.007721, allocations: 471.6 kB / 0.6243 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.007774, allocations: 97.28 kB / 0.6244 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.007783, allocations: 4 kB / 0.6244 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.007797, allocations: 3.984 kB / 0.6244 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.42e-05/0.007822, allocations: 7.938 kB / 0.6244 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.007828, allocations: 4 kB / 0.6244 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.008087, allocations: 79.8 kB / 0.6245 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.008115, allocations: 27.98 kB / 0.6245 GB, free: 6.703 MB / 0.5886 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.629e-05/0.008211, allocations: 126.8 kB / 0.6246 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.008224, allocations: 11.94 kB / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.008249, allocations: 8.438 kB / 0.6247 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.008252, allocations: 4.375 kB / 0.6247 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.008257, allocations: 0 / 0.6247 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.00826, allocations: 0 / 0.6247 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.00836, allocations: 160.6 kB / 0.6248 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.008362, allocations: 3.938 kB / 0.6248 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-06/0.00837, allocations: 11.94 kB / 0.6248 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008372, allocations: 0 / 0.6248 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.008381, allocations: 3.984 kB / 0.6248 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.008382, allocations: 0 / 0.6248 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.008384, allocations: 0 / 0.6248 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.008525, allocations: 144.9 kB / 0.625 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.008535, allocations: 11.94 kB / 0.625 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.008547, allocations: 0 / 0.625 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.008565, allocations: 4 kB / 0.625 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.008597, allocations: 7.984 kB / 0.625 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.008603, allocations: 7.938 kB / 0.625 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.008644, allocations: 103.3 kB / 0.6251 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008644, allocations: 0 / 0.6251 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001775/0.008821, allocations: 51.92 kB / 0.6252 GB, free: 5.98 MB / 0.5886 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.0003819/0.009203, allocations: 0.6787 MB / 0.6258 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.009556, allocations: 415.1 kB / 0.6262 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.009558, allocations: 0 / 0.6262 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.009599, allocations: 32.3 kB / 0.6262 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.009797, allocations: 28.3 kB / 0.6263 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.01184, allocations: 2.43 MB / 0.6286 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.941e-05/0.01189, allocations: 79.89 kB / 0.6287 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.01192, allocations: 8.5 kB / 0.6287 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.01196, allocations: 28.48 kB / 0.6288 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of SimCode: time 7.41e-07/0.01196, allocations: 4 kB / 0.6288 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.03247, allocations: 4.788 MB / 0.6334 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.795, allocations: 9.578 kB / 0.6335 GB, free: 13.39 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.562293358147144] Failed to read output from testmodel.py, exit status != 0: 6.8759795865044 6.886712305 6.879708117 Calling exit ...