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.001379/0.001379, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001378/0.001378, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.277/1.277, allocations: 225.6 MB / 249.3 MB, free: 3.039 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9652/0.9652, allocations: 175.7 MB / 480.1 MB, free: 2.777 MB / 366.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.001743/0.001743, allocations: 71.89 kB / 0.6678 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1563, allocations: 94.53 MB / 0.7601 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005098/0.1614, allocations: 3.364 MB / 0.7634 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003387/0.1648, allocations: 2.084 MB / 0.7654 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.165, allocations: 7.938 kB / 0.7654 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009923/0.166, allocations: 306.8 kB / 0.7657 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.1666, allocations: 234.9 kB / 0.7659 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.1673, allocations: 302.3 kB / 0.7662 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.1678, allocations: 402.8 kB / 0.7666 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.1681, allocations: 148.3 kB / 0.7667 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.1684, allocations: 163.4 kB / 0.7669 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/0.1688, allocations: 211.2 kB / 0.7671 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.1689, allocations: 35.92 kB / 0.7671 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.1693, allocations: 263.5 kB / 0.7674 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1694, allocations: 123.7 kB / 0.7675 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.1696, allocations: 151.2 kB / 0.7676 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.1703, allocations: 490.2 kB / 0.7681 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1703, allocations: 4 kB / 0.7681 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1703, allocations: 0 / 0.7681 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.1703, allocations: 0 / 0.7681 GB, free: 8.562 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.001173/0.1715, allocations: 0.6115 MB / 0.7687 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1715, allocations: 8.031 kB / 0.7687 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.1716, allocations: 66.7 kB / 0.7688 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/0.1725, allocations: 116.6 kB / 0.7689 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.173, allocations: 289.5 kB / 0.7692 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.173, allocations: 16.94 kB / 0.7692 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.1731, allocations: 40.47 kB / 0.7692 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.1739, allocations: 449.1 kB / 0.7696 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.1739, allocations: 7.891 kB / 0.7696 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.1739, allocations: 12 kB / 0.7697 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/0.1741, allocations: 40.53 kB / 0.7697 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006722/0.1747, allocations: 365.9 kB / 0.77 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.1775, allocations: 2.215 MB / 0.7722 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.1779, allocations: 246.3 kB / 0.7724 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.1781, allocations: 148.8 kB / 0.7726 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1782, allocations: 4 kB / 0.7726 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.1782, allocations: 34.56 kB / 0.7726 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.1782, allocations: 0 / 0.7726 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001857/0.18, allocations: 1.06 MB / 0.7737 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.1801, allocations: 59.34 kB / 0.7737 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.1804, allocations: 253 kB / 0.774 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1804, allocations: 29.7 kB / 0.774 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1806, allocations: 192.3 kB / 0.7742 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.1806, allocations: 87.31 kB / 0.7743 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.1808, allocations: 81.62 kB / 0.7743 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1809, allocations: 338.8 kB / 0.7747 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.1812, allocations: 155.9 kB / 0.7748 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.1816, allocations: 246.6 kB / 0.775 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.1822, allocations: 415.3 kB / 0.7754 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1822, allocations: 3.938 kB / 0.7754 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001228/0.1834, allocations: 0.5933 MB / 0.776 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1834, allocations: 7.984 kB / 0.776 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.1834, allocations: 4 kB / 0.776 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006644/0.1841, allocations: 185 kB / 0.7762 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.1844, allocations: 67.89 kB / 0.7763 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/0.1875, allocations: 2.492 MB / 0.7787 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.1879, allocations: 23.97 kB / 0.7787 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.1879, allocations: 20.05 kB / 0.7787 GB, free: 12.97 MB / 0.5919 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.0001889/0.1881, allocations: 169.6 kB / 0.7789 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.1881, allocations: 23.86 kB / 0.7789 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.1887, allocations: 358.9 kB / 0.7793 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1887, allocations: 0 / 0.7793 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1887, allocations: 112 / 0.7793 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1887, allocations: 7.922 kB / 0.7793 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1898, allocations: 0.8227 MB / 0.7801 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1898, allocations: 0 / 0.7801 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.1902, allocations: 83.86 kB / 0.7802 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1902, allocations: 0 / 0.7802 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.1902, allocations: 8 kB / 0.7802 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1902, allocations: 0 / 0.7802 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1902, allocations: 0 / 0.7802 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.191, allocations: 0.6192 MB / 0.7808 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.1911, allocations: 125 kB / 0.7809 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.1912, allocations: 7.984 kB / 0.7809 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.1914, allocations: 15.98 kB / 0.7809 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1915, allocations: 15.92 kB / 0.7809 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1915, allocations: 8 kB / 0.7809 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002297/0.1917, allocations: 192.5 kB / 0.7811 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1917, allocations: 0 / 0.7811 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004056/0.1921, allocations: 88 kB / 0.7812 GB, free: 10.34 MB / 0.5919 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.001126/0.1932, allocations: 1.152 MB / 0.7823 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009436/0.1942, allocations: 0.5223 MB / 0.7828 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1942, allocations: 4 kB / 0.7828 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.1944, allocations: 135.9 kB / 0.783 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.1948, allocations: 64.44 kB / 0.783 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.2003, allocations: 3.705 MB / 0.7867 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.2007, allocations: 0.7912 MB / 0.7874 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.2009, allocations: 82.89 kB / 0.7875 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.2011, allocations: 83.41 kB / 0.7876 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.2011, allocations: 0 / 0.7876 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.2355, allocations: 6.981 MB / 0.7944 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.328/9.563, allocations: 15.95 kB / 0.7944 GB, free: 12.71 MB / 0.6075 GB " [Timeout remaining time 650] (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: 12.988404067989904]