Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009977/0.0009977, 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.0008665/0.0008665, 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.9137/0.9137, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7207/0.7207, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.668e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003554/0.003571, allocations: 3.2 MB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.005883, allocations: 1.971 MB / 0.6231 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.006031, allocations: 7.938 kB / 0.6232 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.006684, allocations: 297.6 kB / 0.6234 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.007123, allocations: 242.6 kB / 0.6237 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.007677, allocations: 291.1 kB / 0.6239 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.008085, allocations: 426.5 kB / 0.6244 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.008392, allocations: 168.3 kB / 0.6245 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.008711, allocations: 231.4 kB / 0.6247 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.009026, allocations: 183.5 kB / 0.6249 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.009062, allocations: 24 kB / 0.6249 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.009425, allocations: 255.3 kB / 0.6252 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.009546, allocations: 127.7 kB / 0.6253 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.009637, allocations: 99.75 kB / 0.6254 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007479/0.01038, allocations: 0.5141 MB / 0.6259 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01039, allocations: 0 / 0.6259 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.01039, allocations: 0 / 0.6259 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.0104, allocations: 0 / 0.6259 GB, free: 5.629 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.00079/0.01119, allocations: 0.5206 MB / 0.6264 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.01122, allocations: 8.031 kB / 0.6264 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.01128, allocations: 70.7 kB / 0.6265 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/0.01188, allocations: 120.6 kB / 0.6266 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.0122, allocations: 215 kB / 0.6268 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.01222, allocations: 16.86 kB / 0.6268 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.01231, allocations: 36.69 kB / 0.6268 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.01284, allocations: 0.5225 MB / 0.6274 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.01285, allocations: 7.938 kB / 0.6274 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.01288, allocations: 12 kB / 0.6274 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-05/0.01296, allocations: 36.47 kB / 0.6274 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.01334, allocations: 369.6 kB / 0.6278 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.01476, allocations: 1.636 MB / 0.6294 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.01503, allocations: 242.4 kB / 0.6296 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.01516, allocations: 148.8 kB / 0.6297 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.01518, allocations: 0 / 0.6297 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.0152, allocations: 34.56 kB / 0.6298 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 1.002e-06/0.0152, allocations: 0 / 0.6298 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001115/0.01631, allocations: 0.9176 MB / 0.6307 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.01634, allocations: 59.34 kB / 0.6307 GB, free: 440 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.01653, allocations: 261.6 kB / 0.631 GB, free: 176 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01655, allocations: 37.64 kB / 0.631 GB, free: 132 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.01664, allocations: 188.5 kB / 0.6312 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.01669, allocations: 91.17 kB / 0.6313 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/0.01677, allocations: 77.64 kB / 0.6313 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.01685, allocations: 330.8 kB / 0.6317 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.01702, allocations: 159.9 kB / 0.6318 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.01722, allocations: 241.5 kB / 0.632 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.01758, allocations: 403.5 kB / 0.6324 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01758, allocations: 4 kB / 0.6324 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007941/0.01838, allocations: 0.598 MB / 0.633 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.0184, allocations: 10.03 kB / 0.633 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.0184, allocations: 4 kB / 0.633 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.0188, allocations: 185 kB / 0.6332 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.01898, allocations: 71.89 kB / 0.6333 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.02077, allocations: 2.371 MB / 0.6356 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.02095, allocations: 27.97 kB / 0.6356 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.02096, allocations: 12 kB / 0.6356 GB, free: 11.18 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.0001099/0.02107, allocations: 170.7 kB / 0.6358 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.02111, allocations: 23.8 kB / 0.6358 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.02144, allocations: 351.6 kB / 0.6362 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.02144, allocations: 4 kB / 0.6362 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.02144, allocations: 8.047 kB / 0.6362 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.02145, allocations: 0 / 0.6362 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006978/0.02214, allocations: 0.7518 MB / 0.6369 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02215, allocations: 0 / 0.6369 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.02235, allocations: 71.94 kB / 0.637 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.02235, allocations: 4 kB / 0.637 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.02237, allocations: 7.922 kB / 0.637 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.02237, allocations: 4 kB / 0.637 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02237, allocations: 0 / 0.637 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.02287, allocations: 0.6145 MB / 0.6376 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.02294, allocations: 51.88 kB / 0.6376 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.02297, allocations: 15.94 kB / 0.6376 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.02308, allocations: 7.984 kB / 0.6377 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.02311, allocations: 23.91 kB / 0.6377 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.02312, allocations: 8 kB / 0.6377 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001365/0.02326, allocations: 189.2 kB / 0.6379 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.02326, allocations: 0 / 0.6379 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002747/0.02353, allocations: 95.94 kB / 0.638 GB, free: 8.711 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.0007183/0.02425, allocations: 1.156 MB / 0.6391 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006079/0.02486, allocations: 0.5026 MB / 0.6396 GB, free: 7.012 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02486, allocations: 4.125 kB / 0.6396 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.025, allocations: 147.7 kB / 0.6397 GB, free: 6.863 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.0253, allocations: 52.67 kB / 0.6398 GB, free: 6.816 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.02875, allocations: 3.615 MB / 0.6433 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.02889, allocations: 186.1 kB / 0.6435 GB, free: 2.848 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.02904, allocations: 82.91 kB / 0.6436 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.02915, allocations: 88.47 kB / 0.6436 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.02915, allocations: 0 / 0.6436 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.05064, allocations: 7.767 MB / 0.6512 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.246, allocations: 7.25 kB / 0.6512 GB, free: 11.11 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.063256373628974] Failed to read output from testmodel.py, exit status != 0: 7.332429897971451 7.343070866 7.330906297 Calling exit ...