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.001537/0.001537, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.00176/0.00176, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.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.075/1.075, allocations: 175.8 MB / 478.4 MB, free: 3.762 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.001927/0.001927, allocations: 71.98 kB / 0.6652 GB, free: 11.35 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1793, allocations: 94.53 MB / 0.7575 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005539/0.1848, allocations: 3.292 MB / 0.7607 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003957/0.1888, allocations: 2.049 MB / 0.7627 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.189, allocations: 7.938 kB / 0.7627 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.19, allocations: 301.3 kB / 0.763 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000634/0.1906, allocations: 242.9 kB / 0.7633 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.1914, allocations: 283.3 kB / 0.7635 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.192, allocations: 410.8 kB / 0.7639 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.1923, allocations: 164.2 kB / 0.7641 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.1926, allocations: 163.5 kB / 0.7642 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.1929, allocations: 207.3 kB / 0.7644 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.193, allocations: 27.94 kB / 0.7645 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.1934, allocations: 267.5 kB / 0.7647 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.1936, allocations: 123.7 kB / 0.7648 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1938, allocations: 147.2 kB / 0.765 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.1944, allocations: 494.2 kB / 0.7654 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1944, allocations: 4 kB / 0.7655 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1944, allocations: 0 / 0.7655 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.1944, allocations: 0 / 0.7655 GB, free: 9.559 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.001257/0.1957, allocations: 0.6076 MB / 0.766 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1957, allocations: 8.031 kB / 0.7661 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.076e-05/0.1958, allocations: 66.72 kB / 0.7661 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009854/0.1968, allocations: 124.5 kB / 0.7662 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.1972, allocations: 285.7 kB / 0.7665 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.1973, allocations: 12.94 kB / 0.7665 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.1974, allocations: 36.48 kB / 0.7666 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007571/0.1981, allocations: 457.1 kB / 0.767 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.1982, allocations: 7.938 kB / 0.767 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.1982, allocations: 4 kB / 0.767 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.1983, allocations: 40.53 kB / 0.767 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.199, allocations: 369.9 kB / 0.7674 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.2023, allocations: 2.218 MB / 0.7696 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.2028, allocations: 250.3 kB / 0.7698 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.2031, allocations: 148.8 kB / 0.7699 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.2031, allocations: 4 kB / 0.7699 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.2032, allocations: 30.56 kB / 0.77 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.2032, allocations: 4 kB / 0.77 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002118/0.2053, allocations: 1.056 MB / 0.771 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.2053, allocations: 55.41 kB / 0.7711 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.2057, allocations: 264.9 kB / 0.7713 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.2057, allocations: 29.7 kB / 0.7713 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.2059, allocations: 192.3 kB / 0.7715 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/0.2059, allocations: 87.31 kB / 0.7716 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.2061, allocations: 77.62 kB / 0.7717 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2062, allocations: 334.8 kB / 0.772 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.2065, allocations: 163.9 kB / 0.7722 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.2069, allocations: 246.6 kB / 0.7724 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.2076, allocations: 415.3 kB / 0.7728 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2076, allocations: 3.938 kB / 0.7728 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001448/0.209, allocations: 0.5896 MB / 0.7734 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.209, allocations: 8 kB / 0.7734 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.209, allocations: 0 / 0.7734 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/0.2098, allocations: 192.8 kB / 0.7736 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.2101, allocations: 63.89 kB / 0.7736 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.2135, allocations: 2.492 MB / 0.7761 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.2139, allocations: 27.97 kB / 0.7761 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.2139, allocations: 12 kB / 0.7761 GB, free: 13.96 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.0002258/0.2142, allocations: 169.6 kB / 0.7763 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.2142, allocations: 27.92 kB / 0.7763 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/0.2148, allocations: 355.5 kB / 0.7766 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2148, allocations: 0 / 0.7766 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2148, allocations: 8.047 kB / 0.7766 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.2148, allocations: 7.922 kB / 0.7766 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.2163, allocations: 0.809 MB / 0.7774 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2163, allocations: 0 / 0.7774 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.2167, allocations: 79.94 kB / 0.7775 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2167, allocations: 4 kB / 0.7775 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.2167, allocations: 8 kB / 0.7775 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2167, allocations: 0 / 0.7775 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2167, allocations: 4 kB / 0.7775 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/0.2176, allocations: 0.6191 MB / 0.7781 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.2178, allocations: 133 kB / 0.7782 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.2179, allocations: 8 kB / 0.7783 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.2181, allocations: 12.06 kB / 0.7783 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.2181, allocations: 23.91 kB / 0.7783 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.2181, allocations: 4 kB / 0.7783 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003095/0.2185, allocations: 188.5 kB / 0.7785 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2185, allocations: 0 / 0.7785 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004963/0.219, allocations: 92 kB / 0.7786 GB, free: 11.32 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.00122/0.2202, allocations: 1.159 MB / 0.7797 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.2212, allocations: 0.5179 MB / 0.7802 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2212, allocations: 0 / 0.7802 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.2215, allocations: 147.1 kB / 0.7803 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.2219, allocations: 49.14 kB / 0.7804 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/0.2277, allocations: 3.697 MB / 0.784 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.2283, allocations: 0.7912 MB / 0.7848 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002676/0.2286, allocations: 82.89 kB / 0.7848 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.2287, allocations: 87.41 kB / 0.7849 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.2287, allocations: 0 / 0.7849 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05044/0.2792, allocations: 6.966 MB / 0.7917 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.65, allocations: 13.91 kB / 0.7917 GB, free: 13.74 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.688046602066606] Failed to read output from testmodel.py, exit status != 0: 10.759688068646938 10.783645166 10.584555044 Calling exit ...