Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.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.0007876/0.0007876, allocations: 76.5 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.0007657/0.0007657, allocations: 174.3 kB / 23.21 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.8321/0.8321, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03263/0.03263, allocations: 8.602 MB / 268.5 MB, free: 5.156 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.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(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop") translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 396.3 MB, free: 1.016 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.219e-05, allocations: 6.281 kB / 396.3 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.002192/0.002214, allocations: 1.937 MB / 398.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003589, allocations: 1.273 MB / 399.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.003673, allocations: 7.938 kB / 399.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.004266, allocations: 337.3 kB / 399.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.004595, allocations: 271 kB / 400.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.004912, allocations: 238.8 kB / 400.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.005173, allocations: 359 kB / 400.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.00528, allocations: 36.48 kB / 400.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.005444, allocations: 191.5 kB / 401 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.005577, allocations: 147.6 kB / 401.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.005601, allocations: 16 kB / 401.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.005743, allocations: 99.8 kB / 401.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.025e-05/0.005834, allocations: 99.67 kB / 401.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.005905, allocations: 79.7 kB / 401.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.006251, allocations: 382.7 kB / 401.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.006254, allocations: 8 kB / 401.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006255, allocations: 0 / 401.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.006259, allocations: 0 / 401.8 MB, free: 11.55 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007186/0.006978, allocations: 0.6087 MB / 402.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.007026, allocations: 16.03 kB / 402.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.007088, allocations: 32.7 kB / 402.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.007434, allocations: 280.1 kB / 402.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.007455, allocations: 12.36 kB / 402.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.007475, allocations: 16.3 kB / 402.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.007674, allocations: 106.2 kB / 402.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.007687, allocations: 3.938 kB / 402.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.007704, allocations: 4 kB / 402.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.007712, allocations: 4 kB / 402.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.007824, allocations: 63.95 kB / 402.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.008409, allocations: 392.1 kB / 403.3 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.008607, allocations: 131 kB / 403.4 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/0.008673, allocations: 52.77 kB / 403.5 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.008687, allocations: 0 / 403.5 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.008853, allocations: 119.3 kB / 403.6 MB, free: 9.609 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.008855, allocations: 7.938 kB / 403.6 MB, free: 9.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003461/0.009201, allocations: 245.3 kB / 403.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.009241, allocations: 59.34 kB / 403.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.009587, allocations: 489.6 kB / 404.4 MB, free: 8.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.009606, allocations: 37.69 kB / 404.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.009696, allocations: 168.4 kB / 404.6 MB, free: 8.582 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.009728, allocations: 43.69 kB / 404.6 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.00977, allocations: 37.7 kB / 404.6 MB, free: 8.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.01001, allocations: 354.7 kB / 405 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/0.01007, allocations: 43.98 kB / 405 MB, free: 8.098 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.01019, allocations: 167.1 kB / 405.2 MB, free: 7.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.01034, allocations: 145.9 kB / 405.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.01034, allocations: 0 / 405.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002065/0.01054, allocations: 201.4 kB / 405.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.01056, allocations: 4 kB / 405.5 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01056, allocations: 0 / 405.5 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01058, allocations: 4 kB / 405.5 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.01066, allocations: 35.86 kB / 405.6 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.01067, allocations: 7.984 kB / 405.6 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.01072, allocations: 15.83 kB / 405.6 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.01073, allocations: 12 kB / 405.6 MB, free: 7.449 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (flipFlopSR.y1,$PRE.flipFlopSR.y1,flipFlopSR.y2,$PRE.flipFlopSR.y2,$PRE.resetSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.setSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,resetSIGNAL.combiTimeTable.nextTimeEventScaled,$PRE.resetSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.y,setSIGNAL.combiTimeTable.nextTimeEventScaled,$PRE.setSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001176/0.01085, allocations: 180.5 kB / 405.8 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.01088, allocations: 35.77 kB / 405.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.01113, allocations: 219.7 kB / 406 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01113, allocations: 4 kB / 406 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.01114, allocations: 3.938 kB / 406 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01114, allocations: 0 / 406 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.01131, allocations: 225.1 kB / 406.3 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01131, allocations: 3.984 kB / 406.3 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.01133, allocations: 11.94 kB / 406.3 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01133, allocations: 4.125 kB / 406.3 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01135, allocations: 12 kB / 406.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.01135, allocations: 3.984 kB / 406.3 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01135, allocations: 4 kB / 406.3 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.01156, allocations: 240.7 kB / 406.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.01159, allocations: 31.75 kB / 406.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.01162, allocations: 11.94 kB / 406.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.01166, allocations: 11.98 kB / 406.6 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.0117, allocations: 11.92 kB / 406.6 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.01172, allocations: 19.97 kB / 406.6 MB, free: 6.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002411/0.01196, allocations: 363.1 kB / 407 MB, free: 6.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-07/0.01196, allocations: 0 / 407 MB, free: 6.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.01216, allocations: 55.94 kB / 407 MB, free: 5.965 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,flipFlopSR.y1,flipFlopSR.y2,setSIGNAL.y,setSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.y,resetSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (flipFlopSR.y1,setSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0007259/0.01288, allocations: 468.4 kB / 407.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.0131, allocations: 127.8 kB / 407.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.0131, allocations: 0 / 407.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.603e-05/0.01319, allocations: 68.22 kB / 407.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.01343, allocations: 73.14 kB / 407.8 MB, free: 5.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.01403, allocations: 0.5749 MB / 408.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.0144, allocations: 174.2 kB / 408.5 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.01446, allocations: 44.36 kB / 408.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01446, allocations: 0 / 408.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of Templates: time 0.1454/0.1599, allocations: 4.653 MB / 413.2 MB, free: 29.1 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.97990096360445] Failed to read output from testmodel.py, exit status != 0: 0.16538313776254654 0.17780351600000002 0.169783828 Calling exit ...