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.0008207/0.0008207, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0009028/0.0009028, allocations: 214.2 kB / 22.25 MB, free: 3.578 MB / 13.93 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.9815/0.9815, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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.7932/0.7932, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 69.64 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5217, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003718/0.5254, allocations: 3.054 MB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.5282, allocations: 1.897 MB / 0.8226 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.5283, allocations: 12 kB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.529, allocations: 284.7 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.5295, allocations: 198.7 kB / 0.8231 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.53, allocations: 248.5 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.5304, allocations: 316.2 kB / 0.8236 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.5308, allocations: 156.8 kB / 0.8238 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.531, allocations: 136.7 kB / 0.8239 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.5313, allocations: 152.7 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.5313, allocations: 20.78 kB / 0.8241 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000737/0.532, allocations: 383.9 kB / 0.8244 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.5322, allocations: 79.75 kB / 0.8245 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.5323, allocations: 108.4 kB / 0.8246 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007601/0.5331, allocations: 499.3 kB / 0.8251 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5331, allocations: 0 / 0.8251 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5331, allocations: 1.5 kB / 0.8251 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.5331, allocations: 0.6562 kB / 0.8251 GB, free: 12.76 MB / 0.6198 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.0008292/0.5339, allocations: 0.4988 MB / 0.8256 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.534, allocations: 10.84 kB / 0.8256 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.534, allocations: 55.3 kB / 0.8256 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005094/0.5345, allocations: 110.9 kB / 0.8257 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.5348, allocations: 208.1 kB / 0.8259 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.5348, allocations: 16.62 kB / 0.826 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.5349, allocations: 25.97 kB / 0.826 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.5354, allocations: 407.6 kB / 0.8264 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5354, allocations: 1.5 kB / 0.8264 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.5354, allocations: 9.906 kB / 0.8264 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.5354, allocations: 25.92 kB / 0.8264 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.5358, allocations: 289.4 kB / 0.8267 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.5373, allocations: 1.274 MB / 0.8279 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.5376, allocations: 245.2 kB / 0.8282 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.5377, allocations: 104.4 kB / 0.8283 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.5378, allocations: 9.359 kB / 0.8283 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.5378, allocations: 41.88 kB / 0.8283 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.5378, allocations: 0 / 0.8283 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001668/0.5395, allocations: 0.89 MB / 0.8292 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.5395, allocations: 88.81 kB / 0.8293 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.5397, allocations: 225.1 kB / 0.8295 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5398, allocations: 30.95 kB / 0.8295 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.5399, allocations: 167.9 kB / 0.8297 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.5399, allocations: 80.81 kB / 0.8297 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.855e-05/0.54, allocations: 72.02 kB / 0.8298 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.5401, allocations: 330.5 kB / 0.8301 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.5403, allocations: 130.5 kB / 0.8302 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.5406, allocations: 205.8 kB / 0.8304 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.541, allocations: 369.4 kB / 0.8308 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.541, allocations: 1.094 kB / 0.8308 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006428/0.5416, allocations: 0.5048 MB / 0.8313 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.5416, allocations: 9.969 kB / 0.8313 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5416, allocations: 2.438 kB / 0.8313 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.542, allocations: 147.8 kB / 0.8314 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.5422, allocations: 56.92 kB / 0.8315 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.5445, allocations: 3.983 MB / 0.8354 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.5446, allocations: 18.11 kB / 0.8354 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.5447, allocations: 22.94 kB / 0.8354 GB, free: 4.875 MB / 0.6198 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.0001521/0.5448, allocations: 166.1 kB / 0.8356 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.5449, allocations: 22.81 kB / 0.8356 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006206/0.5455, allocations: 478.4 kB / 0.8361 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5455, allocations: 4.094 kB / 0.8361 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5455, allocations: 1.25 kB / 0.8361 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5455, allocations: 5.953 kB / 0.8361 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.5467, allocations: 0.937 MB / 0.837 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5467, allocations: 5.562 kB / 0.837 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.5467, allocations: 35.09 kB / 0.837 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.547, allocations: 139.2 kB / 0.8372 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.547, allocations: 13.19 kB / 0.8372 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.549, allocations: 3.94 MB / 0.841 GB, free: 80 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.549, allocations: 3.406 kB / 0.841 GB, free: 80 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.5497, allocations: 0.6272 MB / 0.8416 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.5498, allocations: 45.86 kB / 0.8417 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.5498, allocations: 13.08 kB / 0.8417 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.55, allocations: 22.47 kB / 0.8417 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.55, allocations: 28.36 kB / 0.8417 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.55, allocations: 8.969 kB / 0.8418 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001267/0.5502, allocations: 159.5 kB / 0.8419 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5502, allocations: 0 / 0.8419 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004514/0.5506, allocations: 97.88 kB / 0.842 GB, free: 15.47 MB / 0.6355 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.0008393/0.5515, allocations: 1.194 MB / 0.8432 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007526/0.5522, allocations: 0.5668 MB / 0.8437 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5522, allocations: 1.406 kB / 0.8437 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.5525, allocations: 387.4 kB / 0.8441 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.5529, allocations: 38.59 kB / 0.8441 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.5562, allocations: 3.335 MB / 0.8474 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.5563, allocations: 174.1 kB / 0.8475 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.5565, allocations: 57.16 kB / 0.8476 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.5566, allocations: 70.83 kB / 0.8477 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/0.5566, allocations: 0.9375 kB / 0.8477 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.5862, allocations: 7.349 MB / 0.8548 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.441, allocations: 9.234 kB / 0.8549 GB, free: 7.578 MB / 0.6355 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.563998895231634] Failed to read output from testmodel.py, exit status != 0: 8.53434049198404 8.547081823 8.011932036 Calling exit ...