Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.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.0007935/0.0007935, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008538/0.0008538, allocations: 162 kB / 22.43 MB, free: 2.141 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.8526/0.8526, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.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.7041/0.7041, allocations: 155 MB / 414.2 MB, free: 480 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Integers.Validation.OnCounter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter",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.0009176/0.0009176, allocations: 67.89 kB / 0.6187 GB, free: 13.26 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4762, allocations: 102 MB / 0.7182 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001284/0.4774, allocations: 0.6621 MB / 0.7189 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.4785, allocations: 1.225 MB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.4785, allocations: 0 / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.4785, allocations: 8.453 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.4786, allocations: 15.52 kB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.4791, allocations: 220.1 kB / 0.7203 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.4793, allocations: 189.3 kB / 0.7205 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.983e-05/0.4794, allocations: 5.219 kB / 0.7205 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.4795, allocations: 104.2 kB / 0.7206 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.4796, allocations: 49.55 kB / 0.7207 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.4796, allocations: 19.44 kB / 0.7207 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.341e-05/0.4797, allocations: 32.59 kB / 0.7207 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.4797, allocations: 9.578 kB / 0.7207 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.4798, allocations: 56.72 kB / 0.7208 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.48, allocations: 190.7 kB / 0.721 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.48, allocations: 0 / 0.721 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.48, allocations: 5 kB / 0.721 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.48, allocations: 0 / 0.721 GB, free: 21.5 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003806/0.4804, allocations: 364.9 kB / 0.7213 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4804, allocations: 11.16 kB / 0.7213 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.202e-05/0.4804, allocations: 37 kB / 0.7214 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.4805, allocations: 17.5 kB / 0.7214 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.077e-05/0.4805, allocations: 114.8 kB / 0.7215 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.4806, allocations: 5.797 kB / 0.7215 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4806, allocations: 13.2 kB / 0.7215 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.4807, allocations: 56.58 kB / 0.7215 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.4807, allocations: 0 / 0.7215 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.4807, allocations: 1.969 kB / 0.7216 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4807, allocations: 0 / 0.7216 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.988e-05/0.4807, allocations: 17.34 kB / 0.7216 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.4811, allocations: 302.1 kB / 0.7219 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.4812, allocations: 34.22 kB / 0.7219 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.4812, allocations: 16.47 kB / 0.7219 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.4812, allocations: 5.094 kB / 0.7219 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.4814, allocations: 99.72 kB / 0.722 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.4814, allocations: 0 / 0.722 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002303/0.4816, allocations: 129.9 kB / 0.7221 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.4816, allocations: 54.58 kB / 0.7222 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.959e-05/0.4817, allocations: 121.2 kB / 0.7223 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.4817, allocations: 34.33 kB / 0.7223 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.4817, allocations: 94.61 kB / 0.7224 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.4818, allocations: 20.06 kB / 0.7224 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.4818, allocations: 51.06 kB / 0.7225 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.16e-05/0.4819, allocations: 323.7 kB / 0.7228 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.482, allocations: 122.8 kB / 0.7229 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.4821, allocations: 173.6 kB / 0.7231 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4822, allocations: 180.3 kB / 0.7232 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4822, allocations: 5.125 kB / 0.7233 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002963/0.4825, allocations: 348.4 kB / 0.7236 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.4825, allocations: 67.78 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4826, allocations: 5.156 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4826, allocations: 7.219 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.4826, allocations: 5.812 kB / 0.7237 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4826, allocations: 6.359 kB / 0.7237 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.4828, allocations: 64.41 kB / 0.7237 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.4828, allocations: 13.95 kB / 0.7237 GB, free: 19.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 6.369e-05/0.4829, allocations: 125.4 kB / 0.7239 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.4829, allocations: 7.797 kB / 0.7239 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.4829, allocations: 10.94 kB / 0.7239 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4829, allocations: 1.188 kB / 0.7239 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4829, allocations: 0 / 0.7239 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4829, allocations: 10.28 kB / 0.7239 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.4832, allocations: 323.6 kB / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4832, allocations: 0 / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.4832, allocations: 1.062 kB / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4832, allocations: 1.938 kB / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.4832, allocations: 2.219 kB / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4832, allocations: 3.938 kB / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4832, allocations: 2.375 kB / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.4833, allocations: 198.3 kB / 0.7244 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.4833, allocations: 7.438 kB / 0.7244 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.4833, allocations: 10.31 kB / 0.7244 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.4834, allocations: 5.625 kB / 0.7244 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.4834, allocations: 5.969 kB / 0.7244 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.4834, allocations: 4 kB / 0.7244 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.4835, allocations: 95.38 kB / 0.7245 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4835, allocations: 0 / 0.7245 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001955/0.4837, allocations: 30.69 kB / 0.7246 GB, free: 18.41 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0002856/0.484, allocations: 0.7397 MB / 0.7253 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.4842, allocations: 296.5 kB / 0.7256 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4842, allocations: 1.625 kB / 0.7256 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.4843, allocations: 31.81 kB / 0.7256 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.4845, allocations: 20.09 kB / 0.7256 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.4858, allocations: 2.101 MB / 0.7277 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.14e-05/0.4859, allocations: 76.67 kB / 0.7277 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.4859, allocations: 7.766 kB / 0.7277 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.4859, allocations: 22.45 kB / 0.7278 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4859, allocations: 0 / 0.7278 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.5053, allocations: 3.902 MB / 0.7316 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/7.033, allocations: 11.02 kB / 0.7316 GB, free: 14.48 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.656799862161279] Failed to read output from testmodel.py, exit status != 0: 7.110072693089023 7.125903758 6.6430017359999995 Calling exit ...