Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002995/0.0002995, allocations: 0 / 0, free: 0 / 0 " [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.0002613/0.0002613, allocations: 0 / 0, free: 0 / 0 " [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.1135/0.1135, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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-535:34: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-535:42: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.176/0.176, allocations: 0 / 0, free: 0 / 0 [/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 180] 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: simulate(IDEAS.Utilities.IO.Files.Examples.CSVWriter,startTime=-1.21,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(IDEAS.Utilities.IO.Files.Examples.CSVWriter,startTime=-1.21,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.598e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002906/0.002932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00154/0.004472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.004544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.004723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.004993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.005372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002333/0.005606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.005707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.006009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.006113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.006151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.006232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.006293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.006361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.006603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.337e-05/0.006626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.235e-06/0.006629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.935e-06/0.006637, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007338/0.00737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.873e-05/0.007449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.007642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.007882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/0.00794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/0.00802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.008361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.008371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.008407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-06/0.00841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/0.008498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.009001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.009132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.009218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.009248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.009438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=10): time 4.047e-06/0.009442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=10): time 0.0005384/0.009981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.01003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.01014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.01022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.01027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.0103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/0.01039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.124e-05/0.01042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.01049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.01058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.01072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004039/0.01113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.01118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.0112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.01129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.0113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.01138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.01141, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001491/0.01156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.01161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.01166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.01166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.01222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.01228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.01229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.01233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.01233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.01277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.0128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.01289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.01299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.01305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.01308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 5.854e-05/0.01314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.24e-06/0.01315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005338/0.01368, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0003239/0.014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003113/0.01432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.01432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.01444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.01503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.01555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 4.359e-05/0.01559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 4.919e-05/0.01564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.01584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.134e-05/0.01586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00499/0.02086, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.9873329820111394]