Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0008103/0.0008103, 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.0008657/0.0008657, 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.8931/0.8931, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7458/0.7458, allocations: 154.6 MB / 413.7 MB, free: 0.832 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.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.37e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003672/0.003696, allocations: 3.2 MB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.005956, allocations: 1.967 MB / 0.6231 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.006099, allocations: 7.938 kB / 0.6231 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006461/0.006745, allocations: 302.4 kB / 0.6234 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005416/0.007287, allocations: 242.6 kB / 0.6236 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.007866, allocations: 295 kB / 0.6239 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.008228, allocations: 414.6 kB / 0.6243 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.00851, allocations: 172.2 kB / 0.6245 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.008772, allocations: 227.4 kB / 0.6247 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.009031, allocations: 179.5 kB / 0.6248 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.009062, allocations: 28 kB / 0.6249 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.009361, allocations: 251.3 kB / 0.6251 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.009467, allocations: 127.6 kB / 0.6252 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.009674, allocations: 99.8 kB / 0.6253 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.01012, allocations: 0.5101 MB / 0.6258 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.01013, allocations: 0 / 0.6258 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.432e-06/0.01013, allocations: 0 / 0.6258 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.01013, allocations: 0 / 0.6258 GB, free: 5.719 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007587/0.01089, allocations: 0.5323 MB / 0.6263 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.01094, allocations: 9.469 kB / 0.6264 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.023e-05/0.01101, allocations: 62.72 kB / 0.6264 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.01156, allocations: 120.6 kB / 0.6265 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.01183, allocations: 214.8 kB / 0.6267 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.01185, allocations: 20.88 kB / 0.6267 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.961e-05/0.01194, allocations: 40.62 kB / 0.6268 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.01244, allocations: 0.5225 MB / 0.6273 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.01245, allocations: 3.938 kB / 0.6273 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.01248, allocations: 11.98 kB / 0.6273 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.174e-05/0.01256, allocations: 40.47 kB / 0.6274 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.01296, allocations: 365.6 kB / 0.6277 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.01444, allocations: 1.636 MB / 0.6293 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.01473, allocations: 242.4 kB / 0.6295 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.01486, allocations: 144.8 kB / 0.6297 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.01488, allocations: 15.88 kB / 0.6297 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.0149, allocations: 34.56 kB / 0.6297 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.01491, allocations: 0 / 0.6297 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001164/0.01607, allocations: 0.9015 MB / 0.6306 GB, free: 0.5859 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.0161, allocations: 59.41 kB / 0.6307 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.01631, allocations: 269.5 kB / 0.6309 GB, free: 248 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.01633, allocations: 29.7 kB / 0.6309 GB, free: 212 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.01641, allocations: 192.4 kB / 0.6311 GB, free: 16 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.01646, allocations: 83.27 kB / 0.6312 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.01655, allocations: 77.64 kB / 0.6313 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.01664, allocations: 338.8 kB / 0.6316 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.01681, allocations: 151.9 kB / 0.6317 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.01702, allocations: 249.6 kB / 0.632 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.01762, allocations: 411.4 kB / 0.6324 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01762, allocations: 0 / 0.6324 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000771/0.01839, allocations: 0.5979 MB / 0.633 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01841, allocations: 4 kB / 0.633 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01842, allocations: 4 kB / 0.633 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/0.01881, allocations: 192.4 kB / 0.6331 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.01898, allocations: 63.89 kB / 0.6332 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.02083, allocations: 2.377 MB / 0.6355 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.02101, allocations: 23.97 kB / 0.6356 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.02103, allocations: 12 kB / 0.6356 GB, free: 11.26 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): 31 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.02117, allocations: 162.8 kB / 0.6357 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.02121, allocations: 31.8 kB / 0.6358 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.02158, allocations: 355.6 kB / 0.6361 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.02158, allocations: 4 kB / 0.6361 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.02158, allocations: 0 / 0.6361 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.02159, allocations: 0 / 0.6361 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/0.02232, allocations: 0.7553 MB / 0.6368 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02232, allocations: 0 / 0.6368 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.02253, allocations: 79.88 kB / 0.6369 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.02253, allocations: 0 / 0.6369 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.02254, allocations: 12.06 kB / 0.6369 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.02255, allocations: 0 / 0.6369 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.02255, allocations: 0 / 0.6369 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.02305, allocations: 0.6111 MB / 0.6375 GB, free: 9.172 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.02314, allocations: 59.8 kB / 0.6376 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.02316, allocations: 8 kB / 0.6376 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.02328, allocations: 19.92 kB / 0.6376 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.02331, allocations: 11.97 kB / 0.6376 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.02332, allocations: 8 kB / 0.6376 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001412/0.02346, allocations: 193.2 kB / 0.6378 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02346, allocations: 0 / 0.6378 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003/0.02376, allocations: 91.94 kB / 0.6379 GB, free: 8.793 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.0007454/0.0245, allocations: 1.159 MB / 0.639 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008315/0.02533, allocations: 0.5103 MB / 0.6395 GB, free: 7.082 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.02534, allocations: 0 / 0.6395 GB, free: 7.082 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.02547, allocations: 139.8 kB / 0.6397 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.02579, allocations: 63.98 kB / 0.6397 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.02909, allocations: 3.615 MB / 0.6432 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.02923, allocations: 190.1 kB / 0.6434 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.02938, allocations: 78.91 kB / 0.6435 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.02949, allocations: 80.47 kB / 0.6436 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.02949, allocations: 0 / 0.6436 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.05138, allocations: 7.778 MB / 0.6512 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.426, allocations: 3.609 kB / 0.6512 GB, free: 11.18 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_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_Loads_Examples_DynamicLoads.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.263360742479563] Failed to read output from testmodel.py, exit status != 0: 7.513912244699895 7.527590918 7.514642817 Calling exit ...