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.001152/0.001152, allocations: 97.5 kB / 18.95 MB, free: 1.312 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.0008693/0.0008693, allocations: 209.7 kB / 22.24 MB, free: 3.684 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.9664/0.9664, allocations: 230.6 MB / 256 MB, free: 9.613 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.7696/0.7696, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.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: 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.001194/0.001194, allocations: 72.12 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.4892, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003345/0.4925, allocations: 3.231 MB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002881/0.4954, allocations: 1.992 MB / 0.8229 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.4956, allocations: 8.344 kB / 0.8229 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008155/0.4964, allocations: 289.6 kB / 0.8232 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.497, allocations: 236.1 kB / 0.8234 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000838/0.4978, allocations: 295.6 kB / 0.8237 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001092/0.4989, allocations: 422.8 kB / 0.8241 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.4992, allocations: 160.8 kB / 0.8242 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.4995, allocations: 170.2 kB / 0.8244 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.4998, allocations: 205.1 kB / 0.8246 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.4999, allocations: 23.56 kB / 0.8246 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.5003, allocations: 236.4 kB / 0.8248 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.5004, allocations: 128.5 kB / 0.825 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.5005, allocations: 128.1 kB / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005843/0.5011, allocations: 497.9 kB / 0.8256 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5011, allocations: 0 / 0.8256 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5011, allocations: 0 / 0.8256 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.5011, allocations: 5.25 kB / 0.8256 GB, free: 12.51 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008566/0.502, allocations: 0.5309 MB / 0.8261 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.502, allocations: 9.438 kB / 0.8261 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/0.5021, allocations: 67.39 kB / 0.8262 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006081/0.5027, allocations: 114.8 kB / 0.8263 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.503, allocations: 223.3 kB / 0.8265 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.503, allocations: 14.38 kB / 0.8265 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/0.5031, allocations: 47.88 kB / 0.8265 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.5037, allocations: 0.5175 MB / 0.827 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5037, allocations: 3.938 kB / 0.8271 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.5037, allocations: 15.64 kB / 0.8271 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.471e-05/0.5038, allocations: 39.92 kB / 0.8271 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.5043, allocations: 360.1 kB / 0.8274 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.5059, allocations: 1.645 MB / 0.8291 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.5062, allocations: 240.5 kB / 0.8293 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.5063, allocations: 140.8 kB / 0.8294 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.5064, allocations: 10.61 kB / 0.8294 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.5064, allocations: 37.45 kB / 0.8295 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.5064, allocations: 0 / 0.8295 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001477/0.5079, allocations: 0.8979 MB / 0.8303 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.5079, allocations: 58.61 kB / 0.8304 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.5082, allocations: 270.7 kB / 0.8307 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5082, allocations: 31.95 kB / 0.8307 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.5083, allocations: 191.4 kB / 0.8309 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.5083, allocations: 93.73 kB / 0.831 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.615e-05/0.5084, allocations: 78.81 kB / 0.831 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.5085, allocations: 331.9 kB / 0.8313 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.5087, allocations: 155.3 kB / 0.8315 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.5089, allocations: 241.7 kB / 0.8317 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.5093, allocations: 407.9 kB / 0.8321 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5093, allocations: 3.938 kB / 0.8321 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000796/0.5101, allocations: 0.5987 MB / 0.8327 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5101, allocations: 9.75 kB / 0.8327 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.5102, allocations: 4.016 kB / 0.8327 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.5106, allocations: 189.5 kB / 0.8329 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.5108, allocations: 62.73 kB / 0.833 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.5127, allocations: 2.364 MB / 0.8353 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.5129, allocations: 26.97 kB / 0.8353 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.513, allocations: 11.66 kB / 0.8353 GB, free: 6.223 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): 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.0001354/0.5131, allocations: 172.6 kB / 0.8355 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.5131, allocations: 30.64 kB / 0.8355 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.5135, allocations: 358.1 kB / 0.8358 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5135, allocations: 3.234 kB / 0.8358 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.5135, allocations: 0 / 0.8358 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5135, allocations: 2.562 kB / 0.8358 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009894/0.5145, allocations: 0.751 MB / 0.8366 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.5145, allocations: 0 / 0.8366 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.5147, allocations: 77.64 kB / 0.8367 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5147, allocations: 2.094 kB / 0.8367 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.5148, allocations: 9.25 kB / 0.8367 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5148, allocations: 5.188 kB / 0.8367 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5148, allocations: 1.797 kB / 0.8367 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005264/0.5153, allocations: 0.6183 MB / 0.8373 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.5154, allocations: 48.48 kB / 0.8373 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.5154, allocations: 8.484 kB / 0.8373 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.5155, allocations: 17.03 kB / 0.8373 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.5156, allocations: 20.14 kB / 0.8374 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.5156, allocations: 9.156 kB / 0.8374 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001493/0.5157, allocations: 188.9 kB / 0.8376 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5157, allocations: 4 kB / 0.8376 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002987/0.516, allocations: 85.91 kB / 0.8376 GB, free: 4.93 MB / 0.6198 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.0007546/0.5168, allocations: 1.161 MB / 0.8388 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006748/0.5174, allocations: 0.5095 MB / 0.8393 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5175, allocations: 4 kB / 0.8393 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.5176, allocations: 136.3 kB / 0.8394 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.5179, allocations: 61.45 kB / 0.8395 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.5215, allocations: 3.708 MB / 0.8431 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.5216, allocations: 186.9 kB / 0.8433 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.5218, allocations: 75.2 kB / 0.8433 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.5219, allocations: 86.38 kB / 0.8434 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.5219, allocations: 0 / 0.8434 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.5416, allocations: 7.654 MB / 0.8509 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.548, allocations: 7.328 kB / 0.8509 GB, free: 13.07 MB / 0.6355 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.513258527964354] Failed to read output from testmodel.py, exit status != 0: 7.633099447004497 7.642066019 7.138822144 Calling exit ...