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.0007699/0.0007699, 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.0008643/0.0008643, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8927/0.8927, 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.7229/0.7229, allocations: 154.6 MB / 413.7 MB, free: 0.8438 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 1.643e-06/1.643e-06, allocations: 0 / 0.618 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.771e-05, allocations: 8.984 kB / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.004558/0.004576, allocations: 3.161 MB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.00675, allocations: 1.371 MB / 0.6224 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.00689, allocations: 7.938 kB / 0.6225 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.007916, allocations: 330.6 kB / 0.6228 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.008332, allocations: 166.9 kB / 0.6229 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.00895, allocations: 159.4 kB / 0.6231 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.009384, allocations: 342.7 kB / 0.6234 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.009722, allocations: 204 kB / 0.6236 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.009955, allocations: 199.5 kB / 0.6238 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.01016, allocations: 139.6 kB / 0.6239 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.01019, allocations: 20 kB / 0.6239 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.01039, allocations: 151.6 kB / 0.6241 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.01046, allocations: 91.72 kB / 0.6242 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.01053, allocations: 91.75 kB / 0.6243 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.01086, allocations: 370.8 kB / 0.6246 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.01086, allocations: 0 / 0.6246 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01086, allocations: 0 / 0.6246 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.01087, allocations: 0 / 0.6246 GB, free: 7.008 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.0006088/0.01148, allocations: 489.4 kB / 0.6251 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.01151, allocations: 13.47 kB / 0.6251 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.01156, allocations: 54.73 kB / 0.6252 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.01191, allocations: 84.7 kB / 0.6252 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.01215, allocations: 202.9 kB / 0.6254 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.01217, allocations: 20.88 kB / 0.6254 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.01219, allocations: 20.38 kB / 0.6255 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.01256, allocations: 390.8 kB / 0.6258 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.01258, allocations: 4.125 kB / 0.6258 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.0126, allocations: 16.11 kB / 0.6259 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.01262, allocations: 16.48 kB / 0.6259 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.01286, allocations: 213.8 kB / 0.6261 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/0.01376, allocations: 1.054 MB / 0.6271 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.01402, allocations: 122.5 kB / 0.6272 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.01408, allocations: 44.78 kB / 0.6273 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.01409, allocations: 4 kB / 0.6273 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.01411, allocations: 42.5 kB / 0.6273 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.01411, allocations: 0 / 0.6273 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003397/0.01445, allocations: 182.3 kB / 0.6275 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.01448, allocations: 55.34 kB / 0.6275 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.01461, allocations: 215 kB / 0.6277 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.01463, allocations: 29.64 kB / 0.6278 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.0147, allocations: 180 kB / 0.6279 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.01472, allocations: 31.75 kB / 0.628 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.01476, allocations: 37.66 kB / 0.628 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.01484, allocations: 330.8 kB / 0.6283 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.849e-05/0.0149, allocations: 43.97 kB / 0.6284 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.517e-05/0.01498, allocations: 106.6 kB / 0.6285 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.01513, allocations: 172.4 kB / 0.6286 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01513, allocations: 0 / 0.6286 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002311/0.01536, allocations: 210.4 kB / 0.6288 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.01538, allocations: 15.98 kB / 0.6288 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01539, allocations: 0 / 0.6288 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001267/0.01551, allocations: 28.84 kB / 0.6289 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.01558, allocations: 27.98 kB / 0.6289 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007067/0.01629, allocations: 1.318 MB / 0.6302 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.01636, allocations: 19.89 kB / 0.6302 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.01637, allocations: 4 kB / 0.6302 GB, free: 0.8398 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 0.0001004/0.01647, allocations: 154.7 kB / 0.6304 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.0165, allocations: 23.83 kB / 0.6304 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.01652, allocations: 17.47 kB / 0.6304 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.01652, allocations: 0 / 0.6304 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.01652, allocations: 0 / 0.6304 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.01652, allocations: 0 / 0.6304 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.01691, allocations: 458.4 kB / 0.6308 GB, free: 140 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.01692, allocations: 4 kB / 0.6308 GB, free: 136 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.01694, allocations: 12.08 kB / 0.6309 GB, free: 124 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.525e-05/0.017, allocations: 28.78 kB / 0.6309 GB, free: 92 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.01701, allocations: 4 kB / 0.6309 GB, free: 88 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006241/0.01763, allocations: 1.322 MB / 0.6322 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01763, allocations: 0 / 0.6322 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.01781, allocations: 236.2 kB / 0.6324 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.01784, allocations: 31.77 kB / 0.6324 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.01785, allocations: 0 / 0.6324 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.01792, allocations: 12 kB / 0.6324 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.01795, allocations: 3.984 kB / 0.6324 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.01795, allocations: 4 kB / 0.6324 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.319e-05/0.01804, allocations: 160.2 kB / 0.6326 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01804, allocations: 0 / 0.6326 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002157/0.01825, allocations: 55.89 kB / 0.6327 GB, free: 14.14 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.00034/0.01859, allocations: 0.7678 MB / 0.6334 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.01888, allocations: 227 kB / 0.6336 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01888, allocations: 4.062 kB / 0.6336 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.01899, allocations: 162.6 kB / 0.6338 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.01924, allocations: 37.67 kB / 0.6338 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.02081, allocations: 2.153 MB / 0.6359 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.02091, allocations: 148.2 kB / 0.6361 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.102e-05/0.02099, allocations: 25.47 kB / 0.6361 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.02105, allocations: 60.48 kB / 0.6361 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.02105, allocations: 0 / 0.6361 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.03862, allocations: 4.823 MB / 0.6408 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.08/7.118, allocations: 2.188 kB / 0.6409 GB, free: 5.738 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.7905282266438] Failed to read output from testmodel.py, exit status != 0: 7.205301478505135 7.215059498 7.202258563 Calling exit ...