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.001599/0.001599, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001958/0.001958, allocations: 186 kB / 20.78 MB, free: 1.547 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.499/1.499, allocations: 225.6 MB / 249.4 MB, free: 3.293 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.103/1.103, allocations: 175.7 MB / 480.2 MB, free: 3.133 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: 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.001999/0.001999, allocations: 71.78 kB / 0.6684 GB, free: 10.67 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2642, allocations: 94.53 MB / 0.7607 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.006197/0.2704, allocations: 3.185 MB / 0.7638 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003391/0.2738, allocations: 1.78 MB / 0.7655 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.274, allocations: 7.938 kB / 0.7655 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.2751, allocations: 350.7 kB / 0.7659 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.2757, allocations: 223 kB / 0.7661 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.2762, allocations: 179.2 kB / 0.7663 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.2766, allocations: 319 kB / 0.7666 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.277, allocations: 156.8 kB / 0.7667 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.2772, allocations: 139.5 kB / 0.7668 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.2775, allocations: 175.4 kB / 0.767 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.2776, allocations: 20 kB / 0.767 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.278, allocations: 243.6 kB / 0.7673 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.2781, allocations: 115.6 kB / 0.7674 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.2783, allocations: 119.5 kB / 0.7675 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.2788, allocations: 422.5 kB / 0.7679 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2788, allocations: 4 kB / 0.7679 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2788, allocations: 0 / 0.7679 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.2789, allocations: 0 / 0.7679 GB, free: 8.879 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.001073/0.2799, allocations: 0.5531 MB / 0.7684 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.28, allocations: 8.031 kB / 0.7684 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/0.2807, allocations: 92.69 kB / 0.7685 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.281, allocations: 269.3 kB / 0.7688 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.2811, allocations: 16.81 kB / 0.7688 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.2812, allocations: 24.55 kB / 0.7688 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/0.2817, allocations: 377.1 kB / 0.7692 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.2818, allocations: 0 / 0.7692 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.2818, allocations: 16 kB / 0.7692 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.792e-05/0.2819, allocations: 24.42 kB / 0.7692 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.2824, allocations: 309.5 kB / 0.7695 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.2843, allocations: 1.522 MB / 0.771 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.2847, allocations: 210.4 kB / 0.7712 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.2848, allocations: 101.1 kB / 0.7713 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.285, allocations: 93.09 kB / 0.7714 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.285, allocations: 42.41 kB / 0.7714 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.285, allocations: 0 / 0.7714 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001315/0.2864, allocations: 0.7899 MB / 0.7722 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.2864, allocations: 55.41 kB / 0.7723 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.2866, allocations: 199.9 kB / 0.7724 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2866, allocations: 29.7 kB / 0.7725 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2868, allocations: 168.2 kB / 0.7726 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.2868, allocations: 75.33 kB / 0.7727 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2869, allocations: 57.69 kB / 0.7728 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2871, allocations: 330.8 kB / 0.7731 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.2873, allocations: 111.9 kB / 0.7732 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.2875, allocations: 167 kB / 0.7733 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.2879, allocations: 297 kB / 0.7736 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.2879, allocations: 4 kB / 0.7736 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007652/0.2887, allocations: 413.9 kB / 0.774 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2887, allocations: 9.875 kB / 0.774 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2887, allocations: 3.984 kB / 0.774 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004078/0.2891, allocations: 105 kB / 0.7741 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2893, allocations: 55.89 kB / 0.7742 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.2915, allocations: 1.869 MB / 0.776 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.2917, allocations: 19.95 kB / 0.776 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2918, allocations: 20 kB / 0.7761 GB, free: 15.93 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.0001612/0.2919, allocations: 154.3 kB / 0.7762 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.292, allocations: 19.86 kB / 0.7762 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000486/0.2925, allocations: 295.4 kB / 0.7765 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2925, allocations: 4 kB / 0.7765 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.2925, allocations: 4 kB / 0.7765 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2925, allocations: 4.125 kB / 0.7765 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.2934, allocations: 0.7068 MB / 0.7772 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2934, allocations: 7.984 kB / 0.7772 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.2937, allocations: 47.97 kB / 0.7773 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.2937, allocations: 7.984 kB / 0.7773 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.2937, allocations: 7.938 kB / 0.7773 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2937, allocations: 4 kB / 0.7773 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2937, allocations: 4.062 kB / 0.7773 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.2944, allocations: 0.5185 MB / 0.7778 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.2945, allocations: 113 kB / 0.7779 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.2945, allocations: 8 kB / 0.7779 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.2947, allocations: 15.98 kB / 0.7779 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.2948, allocations: 12.05 kB / 0.7779 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.2948, allocations: 8 kB / 0.7779 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001493/0.2949, allocations: 148.6 kB / 0.7781 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2949, allocations: 0 / 0.7781 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003782/0.2953, allocations: 71.94 kB / 0.7781 GB, free: 13.67 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.0001757/0.2955, allocations: 107.2 kB / 0.7782 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007524/0.2962, allocations: 407.5 kB / 0.7786 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.2962, allocations: 3.938 kB / 0.7786 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.2964, allocations: 113.8 kB / 0.7787 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.2968, allocations: 40.59 kB / 0.7788 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.298, allocations: 0.6368 MB / 0.7794 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.2984, allocations: 0.7755 MB / 0.7802 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.2986, allocations: 57.91 kB / 0.7802 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.2987, allocations: 19.44 kB / 0.7802 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.2987, allocations: 0 / 0.7802 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of Templates: time 0.006643/0.3053, allocations: 2.941 MB / 0.7831 GB, free: 8.52 MB / 0.5919 GB " [Timeout remaining time 660] 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.368058576248586]