Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001659/0.001659, allocations: 109.9 kB / 16.45 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.001842/0.001842, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.439/1.439, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.187/1.187, allocations: 175.8 MB / 478.4 MB, free: 8.477 MB / 382.1 MB " [Timeout remaining time 178] 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.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 68.08 kB / 0.6652 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1814, allocations: 94.53 MB / 0.7575 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.3406/0.5221, allocations: 4.901 MB / 0.7623 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003931/0.526, allocations: 2.482 MB / 0.7647 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00043/0.5264, allocations: 22.38 kB / 0.7647 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.5276, allocations: 400.3 kB / 0.7651 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.5287, allocations: 471.7 kB / 0.7656 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009186/0.5296, allocations: 372.4 kB / 0.7659 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009767/0.5306, allocations: 0.921 MB / 0.7668 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.5311, allocations: 295.2 kB / 0.7671 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.5316, allocations: 342.9 kB / 0.7674 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004472/0.5321, allocations: 369.1 kB / 0.7678 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.5321, allocations: 37.62 kB / 0.7678 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007659/0.5329, allocations: 413.2 kB / 0.7682 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.5331, allocations: 186.7 kB / 0.7684 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.5333, allocations: 314.9 kB / 0.7687 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.5344, allocations: 0.8809 MB / 0.7696 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5344, allocations: 0 / 0.7696 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5344, allocations: 4.719 kB / 0.7696 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.5344, allocations: 0.8125 kB / 0.7696 GB, free: 3.965 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001479/0.5359, allocations: 0.9593 MB / 0.7705 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5359, allocations: 9.656 kB / 0.7705 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.79e-05/0.536, allocations: 89.08 kB / 0.7706 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.5373, allocations: 214.7 kB / 0.7708 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/0.5381, allocations: 0.5305 MB / 0.7713 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.5382, allocations: 36.52 kB / 0.7714 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/0.5383, allocations: 44.77 kB / 0.7714 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.5395, allocations: 0.8491 MB / 0.7722 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.5395, allocations: 7.625 kB / 0.7722 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.5396, allocations: 28.98 kB / 0.7723 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.5397, allocations: 70.5 kB / 0.7723 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008274/0.5405, allocations: 0.5653 MB / 0.7729 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00457/0.5451, allocations: 5.654 MB / 0.7784 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.5458, allocations: 424.1 kB / 0.7788 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.5461, allocations: 198.4 kB / 0.779 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.5461, allocations: 2.188 kB / 0.779 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.5461, allocations: 38.67 kB / 0.779 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.814e-06/0.5461, allocations: 0 / 0.779 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002695/0.5488, allocations: 1.508 MB / 0.7805 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.5489, allocations: 57.58 kB / 0.7806 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/0.5494, allocations: 0.4933 MB / 0.781 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.5495, allocations: 29.7 kB / 0.7811 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.5498, allocations: 360.4 kB / 0.7814 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.5499, allocations: 127.9 kB / 0.7815 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.55, allocations: 110.2 kB / 0.7816 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.5502, allocations: 367.5 kB / 0.782 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.5505, allocations: 194.3 kB / 0.7822 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.551, allocations: 443.8 kB / 0.7826 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/0.5519, allocations: 0.705 MB / 0.7833 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5519, allocations: 3.094 kB / 0.7833 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00125/0.5532, allocations: 0.8034 MB / 0.7841 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5532, allocations: 11.06 kB / 0.7841 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5532, allocations: 11.86 kB / 0.7841 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/0.5537, allocations: 159.2 kB / 0.7843 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.5541, allocations: 123.5 kB / 0.7844 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/0.558, allocations: 4.347 MB / 0.7886 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.5584, allocations: 31.05 kB / 0.7886 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.5585, allocations: 28.02 kB / 0.7887 GB, free: 4.734 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003083/0.5588, allocations: 218 kB / 0.7889 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.394e-05/0.5589, allocations: 61.78 kB / 0.7889 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.5599, allocations: 0.5988 MB / 0.7895 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5599, allocations: 10.56 kB / 0.7895 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5599, allocations: 0 / 0.7895 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.56, allocations: 2.062 kB / 0.7895 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.562, allocations: 1.254 MB / 0.7908 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.562, allocations: 1.188 kB / 0.7908 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.5623, allocations: 54.56 kB / 0.7908 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/0.5628, allocations: 143.2 kB / 0.791 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.5628, allocations: 12.31 kB / 0.791 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.5668, allocations: 4.342 MB / 0.7952 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.5668, allocations: 6.922 kB / 0.7952 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.5682, allocations: 0.7143 MB / 0.7959 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.5686, allocations: 174.2 kB / 0.7961 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.5686, allocations: 13.12 kB / 0.7961 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.5689, allocations: 21.94 kB / 0.7961 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/0.569, allocations: 31.89 kB / 0.7961 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.569, allocations: 12.19 kB / 0.7961 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005511/0.5696, allocations: 330.3 kB / 0.7965 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5696, allocations: 3.938 kB / 0.7965 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007743/0.5704, allocations: 142.9 kB / 0.7966 GB, free: 14.42 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.5718, allocations: 1.26 MB / 0.7978 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.5734, allocations: 1.015 MB / 0.7988 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5734, allocations: 0 / 0.7988 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009357/0.5743, allocations: 0.7198 MB / 0.7995 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.5753, allocations: 201 kB / 0.7997 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006887/0.5822, allocations: 5.115 MB / 0.8047 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.5828, allocations: 0.9088 MB / 0.8056 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003923/0.5832, allocations: 118.7 kB / 0.8057 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.5835, allocations: 194 kB / 0.8059 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of SimCode: time 6.12e-07/0.5835, allocations: 0 / 0.8059 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04929/0.6328, allocations: 12.78 MB / 0.8184 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.46, allocations: 2.344 kB / 0.8184 GB, free: 3.039 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.413139611016959] Failed to read output from testmodel.py, exit status != 0: 11.546964096371084 11.561335675 11.023891848 Calling exit ...