Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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.001209/0.001209, 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.001572/0.001572, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9163/0.9163, 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 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.7098/0.7098, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 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.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.998e-05, allocations: 6.219 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001245/0.001265, allocations: 0.5963 MB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.593e-05/0.001311, allocations: 3.984 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.842e-05/0.00133, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.001365, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.001372, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.32e-05/0.001405, allocations: 4 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.631e-05/0.001462, allocations: 4 kB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.001509, allocations: 0 / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.001543, allocations: 4 kB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.089e-05/0.001563, allocations: 3.938 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.001582, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-06/0.001585, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.001596, allocations: 7.938 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.001612, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.289e-05/0.001665, allocations: 3.984 kB / 0.6186 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.001667, allocations: 0 / 0.6186 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.91e-07/0.001668, allocations: 4 kB / 0.6186 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.001671, allocations: 0 / 0.6186 GB, free: 13.15 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002038/0.001875, allocations: 230.5 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.001913, allocations: 9.469 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.001943, allocations: 34.75 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.88e-05/0.001962, allocations: 0.9375 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.661e-05/0.002018, allocations: 105.8 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.002028, allocations: 384 / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.002035, allocations: 4.359 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.53e-05/0.00211, allocations: 30.27 kB / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.002117, allocations: 4.188 kB / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.002124, allocations: 384 / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.002129, allocations: 4.125 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.002146, allocations: 3.938 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.581e-05/0.002242, allocations: 116.8 kB / 0.6191 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.149e-05/0.002283, allocations: 18.58 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.002301, allocations: 8.953 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.00231, allocations: 0 / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.002328, allocations: 30.56 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.002328, allocations: 0 / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001049/0.002433, allocations: 45.62 kB / 0.6192 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.002462, allocations: 55.34 kB / 0.6193 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.467e-05/0.002486, allocations: 93.8 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.002496, allocations: 25.7 kB / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/0.002513, allocations: 88.08 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.002535, allocations: 0 / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.002556, allocations: 13.72 kB / 0.6195 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.002623, allocations: 310.8 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-06/0.00263, allocations: 0 / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.002635, allocations: 4 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.993e-05/0.002655, allocations: 17.03 kB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.002656, allocations: 0 / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.839e-05/0.002685, allocations: 37.64 kB / 0.6199 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.002696, allocations: 4 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.0027, allocations: 0 / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.002711, allocations: 0 / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.00276, allocations: 4 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.002765, allocations: 3.938 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-06/0.002771, allocations: 0 / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.002775, allocations: 0 / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.834e-05/0.002823, allocations: 110.9 kB / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-06/0.002825, allocations: 0 / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.002842, allocations: 10.98 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.91e-07/0.002842, allocations: 0 / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.002846, allocations: 3.938 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.002848, allocations: 0 / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.874e-05/0.002897, allocations: 120.8 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-07/0.002897, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-06/0.002904, allocations: 4 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.002904, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.002909, allocations: 4 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.002909, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.002911, allocations: 3.938 kB / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.797e-05/0.002949, allocations: 65.05 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.002954, allocations: 7.891 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-06/0.002961, allocations: 0 / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-06/0.002965, allocations: 4 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.002976, allocations: 3.938 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-07/0.002976, allocations: 0 / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.969e-05/0.002996, allocations: 79.28 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.002996, allocations: 3.938 kB / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001065/0.003102, allocations: 4.031 kB / 0.6203 GB, free: 11.19 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001921/0.003295, allocations: 0.5851 MB / 0.6208 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.415e-05/0.003349, allocations: 8 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.00335, allocations: 3.938 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.409e-06/0.003354, allocations: 7.984 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.989e-05/0.003444, allocations: 3.938 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.003651, allocations: 98.72 kB / 0.621 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.825e-05/0.003679, allocations: 55.52 kB / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.448e-06/0.003688, allocations: 0 / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.003706, allocations: 12.5 kB / 0.621 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of SimCode: time 2.41e-07/0.003706, allocations: 0 / 0.621 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.01718, allocations: 1.523 MB / 0.6225 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/7.35, allocations: 4.312 kB / 0.6225 GB, free: 8.934 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.005334163084626] Failed to read output from testmodel.py, exit status != 0: 7.43055122345686 7.444623292 7.439833356 Calling exit ...