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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 108.6 kB / 16.41 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 195.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.051/1.051, allocations: 173.4 MB / 470.7 MB, free: 13.57 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002/0.002, allocations: 68.83 kB / 0.6478 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1796, allocations: 89.53 MB / 0.7353 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005216/0.1849, allocations: 3.252 MB / 0.7384 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003617/0.1885, allocations: 2.018 MB / 0.7404 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.1888, allocations: 11.94 kB / 0.7404 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.1898, allocations: 286.8 kB / 0.7407 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000765/0.1906, allocations: 235 kB / 0.7409 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/0.1914, allocations: 291.3 kB / 0.7412 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006297/0.1921, allocations: 406.7 kB / 0.7416 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.1925, allocations: 208.2 kB / 0.7418 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.1927, allocations: 159.5 kB / 0.7419 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/0.1932, allocations: 203.3 kB / 0.7421 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.1932, allocations: 24 kB / 0.7421 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005916/0.1938, allocations: 255.5 kB / 0.7424 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.194, allocations: 127.6 kB / 0.7425 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.1942, allocations: 151.2 kB / 0.7427 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007413/0.195, allocations: 490.3 kB / 0.7431 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.195, allocations: 4 kB / 0.7431 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.195, allocations: 0 / 0.7431 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.195, allocations: 0 / 0.7431 GB, free: 10.09 MB / 0.5762 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.001205/0.1962, allocations: 0.6114 MB / 0.7437 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1963, allocations: 8.031 kB / 0.7437 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.475e-05/0.1963, allocations: 62.72 kB / 0.7438 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009758/0.1973, allocations: 116.6 kB / 0.7439 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.1978, allocations: 289.5 kB / 0.7442 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1978, allocations: 16.94 kB / 0.7442 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.198, allocations: 36.48 kB / 0.7442 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.1987, allocations: 449.1 kB / 0.7447 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1987, allocations: 0 / 0.7447 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.1988, allocations: 15.98 kB / 0.7447 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.1989, allocations: 52.45 kB / 0.7447 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006306/0.1996, allocations: 369.9 kB / 0.7451 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.2025, allocations: 2.207 MB / 0.7472 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.203, allocations: 270.4 kB / 0.7475 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.2032, allocations: 160.8 kB / 0.7476 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.2033, allocations: 0 / 0.7476 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.2033, allocations: 42.55 kB / 0.7477 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.2033, allocations: 0 / 0.7477 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0023/0.2056, allocations: 1.056 MB / 0.7487 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.2057, allocations: 55.41 kB / 0.7488 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.2061, allocations: 264.9 kB / 0.749 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.2062, allocations: 33.7 kB / 0.7491 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.2063, allocations: 192.3 kB / 0.7492 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.962e-05/0.2064, allocations: 83.33 kB / 0.7493 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.2066, allocations: 77.64 kB / 0.7494 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.2068, allocations: 330.8 kB / 0.7497 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.2071, allocations: 163.8 kB / 0.7499 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.2077, allocations: 250.5 kB / 0.7501 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.2084, allocations: 415.4 kB / 0.7505 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2084, allocations: 3.938 kB / 0.7505 GB, free: 2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001724/0.2102, allocations: 0.5935 MB / 0.7511 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.2102, allocations: 8 kB / 0.7511 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.2102, allocations: 0 / 0.7511 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008305/0.2111, allocations: 188.8 kB / 0.7513 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.2114, allocations: 67.89 kB / 0.7513 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3581/0.5696, allocations: 2.488 MB / 0.7538 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.5701, allocations: 26.11 kB / 0.7538 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.5701, allocations: 14.19 kB / 0.7538 GB, free: 17.32 MB / 0.5762 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.0001747/0.5703, allocations: 171.2 kB / 0.754 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.5703, allocations: 30.53 kB / 0.754 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/0.5709, allocations: 350.8 kB / 0.7543 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5709, allocations: 3.219 kB / 0.7543 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.5709, allocations: 1.969 kB / 0.7543 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.5709, allocations: 3.422 kB / 0.7543 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009993/0.5719, allocations: 0.8147 MB / 0.7551 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.572, allocations: 1.188 kB / 0.7551 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.5724, allocations: 79.45 kB / 0.7552 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.5724, allocations: 3.906 kB / 0.7552 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.5724, allocations: 9.906 kB / 0.7552 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5724, allocations: 1.625 kB / 0.7552 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5724, allocations: 4.062 kB / 0.7552 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.5732, allocations: 0.6115 MB / 0.7558 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.5733, allocations: 129.1 kB / 0.7559 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.5733, allocations: 11.75 kB / 0.756 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.5736, allocations: 14.31 kB / 0.756 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.5736, allocations: 23.14 kB / 0.756 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.5736, allocations: 4.875 kB / 0.756 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002079/0.5739, allocations: 189 kB / 0.7562 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5739, allocations: 0 / 0.7562 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004424/0.5743, allocations: 89.62 kB / 0.7563 GB, free: 16.52 MB / 0.5762 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.0009964/0.5753, allocations: 1.157 MB / 0.7574 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009588/0.5763, allocations: 0.5449 MB / 0.7579 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5763, allocations: 1.094 kB / 0.7579 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.5765, allocations: 148.5 kB / 0.7581 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.577, allocations: 62.14 kB / 0.7581 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.5822, allocations: 3.708 MB / 0.7618 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.5825, allocations: 0.7982 MB / 0.7625 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.5827, allocations: 76.67 kB / 0.7626 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.5829, allocations: 84.47 kB / 0.7627 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.5829, allocations: 4 kB / 0.7627 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/0.6315, allocations: 6.927 MB / 0.7695 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.916/10.55, allocations: 1.656 kB / 0.7695 GB, free: 12.66 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.375300152925774] Failed to read output from testmodel.py, exit status != 0: 10.630266728112474 10.643882236 10.445534636 Calling exit ...