Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001216/0.001216, 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.001071/0.001071, allocations: 170.3 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.8982/0.8982, 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.7133/0.7133, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.864e-05, allocations: 2.281 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003506/0.003525, allocations: 3.029 MB / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.005471, allocations: 1.858 MB / 0.6228 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.005581, allocations: 8 kB / 0.6228 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006132/0.006194, allocations: 278.8 kB / 0.6231 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.006494, allocations: 206.8 kB / 0.6233 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.006852, allocations: 258.9 kB / 0.6235 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.007119, allocations: 330.8 kB / 0.6238 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.00739, allocations: 157 kB / 0.624 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.00763, allocations: 191.5 kB / 0.6242 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.007843, allocations: 135.6 kB / 0.6243 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.00787, allocations: 20 kB / 0.6243 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.008209, allocations: 383 kB / 0.6247 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.164e-05/0.008281, allocations: 91.73 kB / 0.6248 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.008347, allocations: 83.81 kB / 0.6248 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.008785, allocations: 0.5219 MB / 0.6254 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.008787, allocations: 0 / 0.6254 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.008788, allocations: 0 / 0.6254 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.008792, allocations: 0 / 0.6254 GB, free: 6.219 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0005962/0.009388, allocations: 0.4893 MB / 0.6258 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.009426, allocations: 13.47 kB / 0.6258 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.009472, allocations: 58.72 kB / 0.6259 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.009902, allocations: 108.6 kB / 0.626 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.01015, allocations: 208.7 kB / 0.6262 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.01017, allocations: 12.88 kB / 0.6262 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.01019, allocations: 20.36 kB / 0.6262 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.01091, allocations: 405 kB / 0.6266 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.01092, allocations: 192 / 0.6266 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.01094, allocations: 16.12 kB / 0.6266 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.01097, allocations: 24.47 kB / 0.6267 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.01128, allocations: 305.7 kB / 0.6269 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.01247, allocations: 1.268 MB / 0.6282 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.01276, allocations: 241 kB / 0.6284 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.01286, allocations: 101.7 kB / 0.6285 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.0129, allocations: 11.98 kB / 0.6285 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.01293, allocations: 38.56 kB / 0.6286 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.01294, allocations: 0 / 0.6286 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001447/0.01438, allocations: 0.8973 MB / 0.6294 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.01443, allocations: 81.11 kB / 0.6295 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.01459, allocations: 220.7 kB / 0.6297 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.01462, allocations: 29.7 kB / 0.6298 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.0147, allocations: 168.5 kB / 0.6299 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.01474, allocations: 87.25 kB / 0.63 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.01481, allocations: 61.66 kB / 0.6301 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01491, allocations: 338.8 kB / 0.6304 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.01504, allocations: 131.9 kB / 0.6305 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.01521, allocations: 209.2 kB / 0.6307 GB, free: 444 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.01555, allocations: 368 kB / 0.6311 GB, free: 44 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.01555, allocations: 0 / 0.6311 GB, free: 44 kB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005675/0.01611, allocations: 0.5082 MB / 0.6316 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01613, allocations: 8 kB / 0.6316 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.01614, allocations: 3.984 kB / 0.6316 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.01646, allocations: 155.6 kB / 0.6317 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.01662, allocations: 55.91 kB / 0.6318 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.01886, allocations: 3.972 MB / 0.6356 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.01896, allocations: 20.02 kB / 0.6357 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.01897, allocations: 12 kB / 0.6357 GB, free: 11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.01909, allocations: 161.9 kB / 0.6358 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.01913, allocations: 27.8 kB / 0.6359 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005518/0.01968, allocations: 476.1 kB / 0.6363 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01969, allocations: 7.938 kB / 0.6363 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.01969, allocations: 0 / 0.6363 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.01969, allocations: 3.984 kB / 0.6363 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.02067, allocations: 0.9423 MB / 0.6372 GB, free: 9.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.02068, allocations: 0 / 0.6372 GB, free: 9.285 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/0.02074, allocations: 31.98 kB / 0.6373 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.02096, allocations: 139.5 kB / 0.6374 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.02098, allocations: 12 kB / 0.6374 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.02315, allocations: 3.941 MB / 0.6413 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.02315, allocations: 11.97 kB / 0.6413 GB, free: 4.859 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.02367, allocations: 0.6142 MB / 0.6419 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.02373, allocations: 47.92 kB / 0.6419 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.02375, allocations: 11.94 kB / 0.6419 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.02387, allocations: 23.92 kB / 0.642 GB, free: 4.105 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.02391, allocations: 27.98 kB / 0.642 GB, free: 4.078 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.02392, allocations: 12 kB / 0.642 GB, free: 4.066 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001027/0.02403, allocations: 161.5 kB / 0.6421 GB, free: 3.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02403, allocations: 0 / 0.6421 GB, free: 3.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003347/0.02436, allocations: 95.86 kB / 0.6422 GB, free: 3.816 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007861/0.02515, allocations: 1.19 MB / 0.6434 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006359/0.02578, allocations: 0.5633 MB / 0.644 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02579, allocations: 0 / 0.644 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.02607, allocations: 402.1 kB / 0.6443 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.02643, allocations: 41.61 kB / 0.6444 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.02945, allocations: 3.322 MB / 0.6476 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.02958, allocations: 173.2 kB / 0.6478 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.02968, allocations: 62.25 kB / 0.6478 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.261e-05/0.02976, allocations: 72.47 kB / 0.6479 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.02977, allocations: 0 / 0.6479 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.05279, allocations: 7.489 MB / 0.6552 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/8.414, allocations: 12.92 kB / 0.6552 GB, free: 6.375 MB / 0.6198 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad_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_AC_OnePhase_Examples_GridDCLoad.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.266701687127352] Failed to read output from testmodel.py, exit status != 0: 8.509160856716335 8.518011852 8.507471387 Calling exit ...