Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0007929/0.0007929, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007899/0.0007899, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8585/0.8585, allocations: 177.1 MB / 203.5 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.7019/0.7019, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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: translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.77e-05, allocations: 5.781 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001169/0.001186, allocations: 0.7894 MB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.002304, allocations: 1.326 MB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.002354, allocations: 0 / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.002388, allocations: 11.81 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/0.002459, allocations: 27.84 kB / 0.6215 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.002998, allocations: 324 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.003229, allocations: 291.5 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.003334, allocations: 29.55 kB / 0.6221 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.00347, allocations: 163.8 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.003606, allocations: 91.78 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.003639, allocations: 28 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.003704, allocations: 39.97 kB / 0.6224 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.003731, allocations: 23.92 kB / 0.6224 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.194e-05/0.003803, allocations: 87.84 kB / 0.6225 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.004054, allocations: 315.1 kB / 0.6228 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004056, allocations: 0 / 0.6228 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004057, allocations: 0 / 0.6228 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.00406, allocations: 0 / 0.6228 GB, free: 9.629 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004556/0.004516, allocations: 458.9 kB / 0.6232 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.004547, allocations: 8.031 kB / 0.6232 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.0046, allocations: 24.88 kB / 0.6233 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.634e-05/0.004676, allocations: 130.1 kB / 0.6234 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.0047, allocations: 16.31 kB / 0.6234 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.00473, allocations: 20.36 kB / 0.6234 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.004861, allocations: 99.81 kB / 0.6235 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.00487, allocations: 0 / 0.6235 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.00488, allocations: 4 kB / 0.6235 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.004887, allocations: 4 kB / 0.6235 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.009e-05/0.004957, allocations: 39.98 kB / 0.6236 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.005393, allocations: 392 kB / 0.6239 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.00556, allocations: 70.5 kB / 0.624 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.005595, allocations: 24.97 kB / 0.624 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.005605, allocations: 0 / 0.624 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.005733, allocations: 115.3 kB / 0.6241 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.005734, allocations: 0 / 0.6241 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0002613/0.005995, allocations: 173.6 kB / 0.6243 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.00603, allocations: 55.41 kB / 0.6243 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.006117, allocations: 160.8 kB / 0.6245 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.006144, allocations: 33.7 kB / 0.6245 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.006198, allocations: 112.6 kB / 0.6246 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.006218, allocations: 31.78 kB / 0.6247 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.006297, allocations: 73.67 kB / 0.6247 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.006371, allocations: 322.8 kB / 0.625 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.006538, allocations: 189 kB / 0.6252 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.006715, allocations: 231 kB / 0.6254 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.006922, allocations: 262.9 kB / 0.6257 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.006925, allocations: 0 / 0.6257 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004375/0.007362, allocations: 493.7 kB / 0.6262 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.007415, allocations: 105 kB / 0.6263 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.007421, allocations: 4 kB / 0.6263 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.007435, allocations: 0 / 0.6263 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.818e-05/0.007473, allocations: 15.94 kB / 0.6263 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.007479, allocations: 3.984 kB / 0.6263 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.007716, allocations: 83.98 kB / 0.6264 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.007743, allocations: 23.98 kB / 0.6264 GB, free: 5.59 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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 8.482e-05/0.007828, allocations: 126.8 kB / 0.6265 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.00784, allocations: 15.89 kB / 0.6265 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.007868, allocations: 24.7 kB / 0.6266 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.00787, allocations: 4 kB / 0.6266 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.007874, allocations: 0 / 0.6266 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.007878, allocations: 0 / 0.6266 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.007982, allocations: 157.2 kB / 0.6267 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007983, allocations: 0 / 0.6267 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.008008, allocations: 11.98 kB / 0.6267 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.008009, allocations: 3.938 kB / 0.6267 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.008016, allocations: 0 / 0.6267 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.008019, allocations: 7.938 kB / 0.6267 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00802, allocations: 0 / 0.6267 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.008169, allocations: 168.6 kB / 0.6269 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.00818, allocations: 11.91 kB / 0.6269 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.008195, allocations: 7.984 kB / 0.6269 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.008211, allocations: 7.938 kB / 0.6269 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.008245, allocations: 11.98 kB / 0.6269 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.008252, allocations: 4 kB / 0.6269 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.008298, allocations: 107.2 kB / 0.627 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008298, allocations: 0 / 0.627 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000175/0.008473, allocations: 51.94 kB / 0.6271 GB, free: 4.824 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001181/0.008591, allocations: 111.2 kB / 0.6272 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.008941, allocations: 439.1 kB / 0.6276 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008943, allocations: 0 / 0.6276 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/0.008997, allocations: 39.98 kB / 0.6276 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.00917, allocations: 27.97 kB / 0.6277 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.009488, allocations: 272.2 kB / 0.6279 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.114e-05/0.009539, allocations: 94.27 kB / 0.628 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.009562, allocations: 16.5 kB / 0.628 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.009563, allocations: 0 / 0.628 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of Templates: time 0.002616/0.01218, allocations: 2.274 MB / 0.6303 GB, free: 1.488 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9743367144837976] Failed to read output from testmodel.py, exit status != 0: 0.01648560632020235 0.024101841000000002 0.018528843 Calling exit ...