Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.001188/0.001188, allocations: 109 kB / 18.7 MB, free: 3.305 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.001336/0.001336, allocations: 192.4 kB / 21.96 MB, free: 60 kB / 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.361/1.361, allocations: 225.6 MB / 250.7 MB, free: 13.37 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.019/1.019, allocations: 175.7 MB / 481.6 MB, free: 7.855 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: translateModel(IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 69.09 kB / 0.67 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5939/0.596, allocations: 94.52 MB / 0.7623 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.00426/0.6003, allocations: 3.115 MB / 0.7653 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.6031, allocations: 1.954 MB / 0.7673 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.6032, allocations: 9.281 kB / 0.7673 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.604, allocations: 246.9 kB / 0.7675 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.6045, allocations: 217.7 kB / 0.7677 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.6051, allocations: 258.5 kB / 0.768 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.6056, allocations: 390.6 kB / 0.7683 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.6059, allocations: 147.9 kB / 0.7685 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.6061, allocations: 158.6 kB / 0.7686 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.6064, allocations: 190.6 kB / 0.7688 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.6065, allocations: 26.19 kB / 0.7688 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.607, allocations: 298.7 kB / 0.7691 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.6071, allocations: 101.6 kB / 0.7692 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.6072, allocations: 148.5 kB / 0.7694 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005559/0.6078, allocations: 485.7 kB / 0.7698 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6078, allocations: 1.062 kB / 0.7698 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6078, allocations: 0 / 0.7698 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.6078, allocations: 0 / 0.7698 GB, free: 5.992 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001091/0.6089, allocations: 0.6517 MB / 0.7705 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6089, allocations: 9.469 kB / 0.7705 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008698/0.6098, allocations: 124.9 kB / 0.7706 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.6101, allocations: 291.9 kB / 0.7709 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.6101, allocations: 13.94 kB / 0.7709 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.6102, allocations: 22.77 kB / 0.7709 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007888/0.611, allocations: 430.5 kB / 0.7713 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.611, allocations: 1.281 kB / 0.7713 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.611, allocations: 8.047 kB / 0.7713 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/0.6111, allocations: 28.77 kB / 0.7713 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009117/0.612, allocations: 400.6 kB / 0.7717 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.6136, allocations: 1.624 MB / 0.7733 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.6149, allocations: 461.6 kB / 0.7737 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.6153, allocations: 186 kB / 0.7739 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.6154, allocations: 94.02 kB / 0.774 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005854/0.616, allocations: 272.2 kB / 0.7743 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=27): time 1.913e-06/0.616, allocations: 4 kB / 0.7743 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28): time 0.00193/0.618, allocations: 0.7661 MB / 0.775 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.618, allocations: 82.91 kB / 0.7751 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.6182, allocations: 222.4 kB / 0.7753 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.6182, allocations: 31.67 kB / 0.7753 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.6183, allocations: 167.3 kB / 0.7755 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.6183, allocations: 105.1 kB / 0.7756 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.6184, allocations: 71.12 kB / 0.7757 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.6185, allocations: 332 kB / 0.776 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.6189, allocations: 185.9 kB / 0.7762 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.6193, allocations: 252.1 kB / 0.7764 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.6202, allocations: 468.5 kB / 0.7769 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6202, allocations: 0 / 0.7769 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001107/0.6213, allocations: 0.5458 MB / 0.7774 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.6213, allocations: 35.42 kB / 0.7774 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6213, allocations: 3.812 kB / 0.7774 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.6215, allocations: 47.22 kB / 0.7775 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.6219, allocations: 86.8 kB / 0.7776 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.6232, allocations: 1.604 MB / 0.7791 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.6236, allocations: 53.05 kB / 0.7792 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.6236, allocations: 15.78 kB / 0.7792 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005395/0.6242, allocations: 280.8 kB / 0.7795 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005019/0.6247, allocations: 250.3 kB / 0.7797 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009031/0.6256, allocations: 445.8 kB / 0.7801 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.714e-06/0.6256, allocations: 0 / 0.7801 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001203/0.6268, allocations: 0.5245 MB / 0.7806 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.6268, allocations: 38.69 kB / 0.7807 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6268, allocations: 7.5 kB / 0.7807 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.627, allocations: 42.31 kB / 0.7807 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.6273, allocations: 78.53 kB / 0.7808 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.6288, allocations: 1.614 MB / 0.7824 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.6292, allocations: 51.02 kB / 0.7824 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.6292, allocations: 16.31 kB / 0.7824 GB, free: 13.22 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000212/0.6294, allocations: 200.3 kB / 0.7826 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.6295, allocations: 25.62 kB / 0.7826 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.6306, allocations: 483.3 kB / 0.7831 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.6306, allocations: 5.859 kB / 0.7831 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6306, allocations: 0 / 0.7831 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.6308, allocations: 130.4 kB / 0.7832 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.6308, allocations: 6.188 kB / 0.7832 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.6311, allocations: 43.48 kB / 0.7833 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6313, allocations: 31.02 kB / 0.7833 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001233/0.6325, allocations: 0.6149 MB / 0.7839 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001323/0.6338, allocations: 0.8375 MB / 0.7847 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004102/0.6342, allocations: 176.4 kB / 0.7849 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002511/0.6345, allocations: 179.5 kB / 0.7851 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of Backend: time 4.11e-07/0.6345, allocations: 0 / 0.7851 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002685/0.6372, allocations: 1.027 MB / 0.7861 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001401/0.6386, allocations: 0.9818 MB / 0.787 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.01977/0.6583, allocations: 8.049 MB / 0.7949 GB, free: 8.82 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.153787837014534] Failed to read output from testmodel.py, exit status != 0: 0.6674026949331164 0.680644654 0.069923259 Calling exit ...