Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001467/0.001467, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001889/0.001889, allocations: 189.7 kB / 22.22 MB, free: 5.102 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.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.118/1.118, allocations: 177.9 MB / 484.2 MB, free: 5.387 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: translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 72.5 kB / 0.674 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6406/0.6427, allocations: 95.17 MB / 0.7669 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004715/0.6474, allocations: 3.184 MB / 0.77 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.6504, allocations: 1.788 MB / 0.7718 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.6505, allocations: 7.469 kB / 0.7718 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.6516, allocations: 343.7 kB / 0.7721 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.6521, allocations: 218.2 kB / 0.7723 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.6526, allocations: 178.8 kB / 0.7725 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.653, allocations: 315.1 kB / 0.7728 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.6534, allocations: 163.3 kB / 0.7729 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.6536, allocations: 138.6 kB / 0.7731 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.6539, allocations: 175.8 kB / 0.7732 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.6539, allocations: 21.41 kB / 0.7733 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.6544, allocations: 252.9 kB / 0.7735 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.6545, allocations: 105.7 kB / 0.7736 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.6546, allocations: 121.8 kB / 0.7737 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006311/0.6553, allocations: 421.7 kB / 0.7741 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6553, allocations: 3.938 kB / 0.7741 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6553, allocations: 0.6094 kB / 0.7741 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.6553, allocations: 1.031 kB / 0.7741 GB, free: 3.91 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009808/0.6563, allocations: 490.7 kB / 0.7746 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.6563, allocations: 12.75 kB / 0.7746 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007851/0.6571, allocations: 92.59 kB / 0.7747 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.6574, allocations: 196.2 kB / 0.7749 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.6574, allocations: 13.44 kB / 0.7749 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.6576, allocations: 37.98 kB / 0.7749 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.6583, allocations: 371.6 kB / 0.7753 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.6583, allocations: 1.656 kB / 0.7753 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.6583, allocations: 10.28 kB / 0.7753 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.6584, allocations: 30.81 kB / 0.7753 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.659, allocations: 313.5 kB / 0.7756 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.6606, allocations: 1.482 MB / 0.7771 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.6611, allocations: 215.9 kB / 0.7773 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.6612, allocations: 110 kB / 0.7774 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.6613, allocations: 14.39 kB / 0.7774 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6613, allocations: 36.77 kB / 0.7774 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.6613, allocations: 0 / 0.7774 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001105/0.6625, allocations: 0.7168 MB / 0.7781 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.6625, allocations: 54.81 kB / 0.7782 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.6627, allocations: 199 kB / 0.7784 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.6627, allocations: 31.02 kB / 0.7784 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.6628, allocations: 161.8 kB / 0.7786 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.6628, allocations: 67.09 kB / 0.7786 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.6629, allocations: 63.84 kB / 0.7787 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.6629, allocations: 330.4 kB / 0.779 GB, free: 428 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.6631, allocations: 118.9 kB / 0.7791 GB, free: 384 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.6633, allocations: 167.1 kB / 0.7793 GB, free: 280 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.6636, allocations: 297.3 kB / 0.7796 GB, free: 112 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6636, allocations: 2.062 kB / 0.7796 GB, free: 112 kB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007656/0.6644, allocations: 412.9 kB / 0.78 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6644, allocations: 6.156 kB / 0.78 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6644, allocations: 4.094 kB / 0.78 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.6648, allocations: 104.9 kB / 0.7801 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.6651, allocations: 48.48 kB / 0.7801 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.6672, allocations: 1.78 MB / 0.7818 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.6674, allocations: 17.66 kB / 0.7819 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.6674, allocations: 11.19 kB / 0.7819 GB, free: 14.44 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.6676, allocations: 161.6 kB / 0.782 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.6677, allocations: 16.72 kB / 0.782 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.6682, allocations: 310.5 kB / 0.7823 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6682, allocations: 2.562 kB / 0.7823 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.6682, allocations: 0 / 0.7823 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.6682, allocations: 5.062 kB / 0.7824 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009934/0.6692, allocations: 0.6715 MB / 0.783 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6692, allocations: 0 / 0.783 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.6695, allocations: 57.72 kB / 0.7831 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.6695, allocations: 8.031 kB / 0.7831 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.6695, allocations: 4.594 kB / 0.7831 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6695, allocations: 8.406 kB / 0.7831 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6696, allocations: 0 / 0.7831 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/0.6702, allocations: 0.5096 MB / 0.7836 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.6703, allocations: 47.02 kB / 0.7836 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.6703, allocations: 11.59 kB / 0.7836 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.6705, allocations: 9.219 kB / 0.7836 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.6706, allocations: 16.11 kB / 0.7837 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.6706, allocations: 4.969 kB / 0.7837 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001459/0.6707, allocations: 147.2 kB / 0.7838 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6707, allocations: 0 / 0.7838 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003634/0.6711, allocations: 65.89 kB / 0.7839 GB, free: 13.27 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[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 (20): * Single equations (assignments): 20 * 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.0001565/0.6712, allocations: 109.7 kB / 0.784 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007588/0.672, allocations: 402.9 kB / 0.7844 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.672, allocations: 0 / 0.7844 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.6722, allocations: 112.1 kB / 0.7845 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.6726, allocations: 47.12 kB / 0.7845 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.6738, allocations: 0.6449 MB / 0.7851 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.6742, allocations: 0.78 MB / 0.7859 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.6743, allocations: 57.72 kB / 0.786 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.6744, allocations: 18.84 kB / 0.786 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.6744, allocations: 0 / 0.786 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of Templates: time 0.007455/0.6819, allocations: 2.995 MB / 0.7889 GB, free: 11.57 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.76740607060492] Failed to read output from testmodel.py, exit status != 0: 0.6909066177904606 0.706270276 0.047784938000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f311b8397b0>