Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.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.0008807/0.0008807, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008001/0.0008001, 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.9494/0.9494, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7297/0.7297, allocations: 154.5 MB / 413.7 MB, free: 0.8086 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.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.509e-05, allocations: 4.953 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.004823/0.004848, allocations: 3.15 MB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.006627, allocations: 1.383 MB / 0.6225 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.00679, allocations: 11.88 kB / 0.6225 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.007503, allocations: 334.6 kB / 0.6228 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.007821, allocations: 166.9 kB / 0.6229 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.008162, allocations: 155.5 kB / 0.6231 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000319/0.008481, allocations: 338.7 kB / 0.6234 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.00885, allocations: 208 kB / 0.6236 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.009106, allocations: 195.5 kB / 0.6238 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.009313, allocations: 135.6 kB / 0.6239 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.00934, allocations: 20 kB / 0.6239 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.009545, allocations: 159.5 kB / 0.6241 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.009618, allocations: 91.72 kB / 0.6242 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.009689, allocations: 87.77 kB / 0.6243 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.01031, allocations: 374.9 kB / 0.6246 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01031, allocations: 0 / 0.6246 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.696e-06/0.01031, allocations: 0 / 0.6246 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.01032, allocations: 0 / 0.6246 GB, free: 6.938 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007736/0.01109, allocations: 481.4 kB / 0.6251 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.01115, allocations: 13.41 kB / 0.6251 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.96e-05/0.01121, allocations: 62.72 kB / 0.6252 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.01161, allocations: 92.7 kB / 0.6252 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.01188, allocations: 191 kB / 0.6254 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.0119, allocations: 12.88 kB / 0.6254 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.01192, allocations: 28.34 kB / 0.6255 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.01232, allocations: 390.8 kB / 0.6258 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.01233, allocations: 4.188 kB / 0.6258 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.01235, allocations: 8.125 kB / 0.6259 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.01238, allocations: 24.48 kB / 0.6259 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.01261, allocations: 209.8 kB / 0.6261 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009668/0.01358, allocations: 1.058 MB / 0.6271 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.01388, allocations: 126.4 kB / 0.6272 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.01394, allocations: 44.83 kB / 0.6273 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.01396, allocations: 0 / 0.6273 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.01398, allocations: 34.56 kB / 0.6273 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.01398, allocations: 0 / 0.6273 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003613/0.01434, allocations: 190.3 kB / 0.6275 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.01437, allocations: 59.41 kB / 0.6275 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.01451, allocations: 207 kB / 0.6277 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.01452, allocations: 29.7 kB / 0.6278 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.0146, allocations: 176 kB / 0.6279 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.01461, allocations: 27.75 kB / 0.628 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.01466, allocations: 41.66 kB / 0.628 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.01475, allocations: 330.8 kB / 0.6283 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.01481, allocations: 51.91 kB / 0.6284 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.01489, allocations: 110.9 kB / 0.6285 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.01504, allocations: 168.4 kB / 0.6286 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01504, allocations: 0 / 0.6286 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002291/0.01527, allocations: 210.1 kB / 0.6288 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01529, allocations: 8 kB / 0.6288 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01529, allocations: 4.281 kB / 0.6288 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.01543, allocations: 28.84 kB / 0.6289 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.01551, allocations: 31.92 kB / 0.6289 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007428/0.01625, allocations: 1.318 MB / 0.6302 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.01633, allocations: 19.95 kB / 0.6302 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01634, allocations: 8.156 kB / 0.6302 GB, free: 0.7695 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.01643, allocations: 158.7 kB / 0.6304 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.01646, allocations: 23.84 kB / 0.6304 GB, free: 0.582 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.01648, allocations: 17.47 kB / 0.6304 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.01648, allocations: 0 / 0.6304 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01648, allocations: 0 / 0.6304 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01648, allocations: 0 / 0.6304 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.01689, allocations: 450.3 kB / 0.6308 GB, free: 72 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01689, allocations: 0 / 0.6308 GB, free: 72 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.01693, allocations: 19.92 kB / 0.6309 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.326e-05/0.01699, allocations: 24.84 kB / 0.6309 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.017, allocations: 0 / 0.6309 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000908/0.01791, allocations: 1.322 MB / 0.6322 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01791, allocations: 160 / 0.6322 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.01808, allocations: 236.4 kB / 0.6324 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.01812, allocations: 31.77 kB / 0.6324 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.01813, allocations: 4 kB / 0.6324 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.01819, allocations: 4 kB / 0.6324 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.01822, allocations: 15.91 kB / 0.6324 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.01823, allocations: 4 kB / 0.6325 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.132e-05/0.01831, allocations: 156.2 kB / 0.6326 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.01831, allocations: 0 / 0.6326 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002177/0.01853, allocations: 55.89 kB / 0.6327 GB, free: 14.07 MB / 0.6042 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003665/0.0189, allocations: 0.7717 MB / 0.6334 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.01918, allocations: 222.5 kB / 0.6336 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01919, allocations: 0 / 0.6336 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01929, allocations: 163.2 kB / 0.6338 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.01957, allocations: 35.23 kB / 0.6338 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.02117, allocations: 2.154 MB / 0.6359 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.627e-05/0.02127, allocations: 152.1 kB / 0.6361 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.262e-05/0.02134, allocations: 25.47 kB / 0.6361 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.02141, allocations: 60.48 kB / 0.6361 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of SimCode: time 9.31e-07/0.02141, allocations: 0 / 0.6361 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.04185, allocations: 4.823 MB / 0.6409 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7, allocations: 8.234 kB / 0.6409 GB, free: 5.668 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource.fmu > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.876972022466362] Failed to read output from testmodel.py, exit status != 0: 7.089581205509603 7.101326153 7.089065453 Calling exit ...